Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 221.8 kB / 23.01 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9411/0.9411, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 71.44 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2084, allocations: 89.17 MB / 0.7284 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00185/0.2102, allocations: 0.5825 MB / 0.729 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007558/0.211, allocations: 330.8 kB / 0.7293 GB, free: 344 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.211, allocations: 0 / 0.7293 GB, free: 344 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.211, allocations: 4 kB / 0.7293 GB, free: 340 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-06/0.211, allocations: 3.938 kB / 0.7293 GB, free: 336 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.2116, allocations: 107.6 kB / 0.7294 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.2116, allocations: 0 / 0.7294 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.2117, allocations: 4 kB / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.2117, allocations: 0 / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.2117, allocations: 0 / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.2117, allocations: 0 / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.2122, allocations: 279.6 kB / 0.7297 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2122, allocations: 4 kB / 0.7297 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.2122, allocations: 7.984 kB / 0.7297 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2125, allocations: 87.95 kB / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2125, allocations: 0 / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2125, allocations: 0 / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.2125, allocations: 0 / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003516/0.2128, allocations: 266.2 kB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2129, allocations: 8.031 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.2129, allocations: 30.75 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.213, allocations: 8.875 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.2131, allocations: 106.5 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2131, allocations: 384 / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2131, allocations: 8.297 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2132, allocations: 34.25 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2132, allocations: 3.938 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2132, allocations: 0 / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2132, allocations: 4 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.2132, allocations: 0 / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.2134, allocations: 116.8 kB / 0.7303 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.951e-05/0.2135, allocations: 18.61 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.2135, allocations: 12.8 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/0.2138, allocations: 44.02 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.2139, allocations: 38.56 kB / 0.7304 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2139, allocations: 0 / 0.7304 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.214, allocations: 33.64 kB / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.2141, allocations: 51.41 kB / 0.7305 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.2141, allocations: 89.86 kB / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2141, allocations: 29.7 kB / 0.7306 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.2142, allocations: 80.14 kB / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.2142, allocations: 7.938 kB / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2143, allocations: 17.84 kB / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2144, allocations: 314.8 kB / 0.731 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.2144, allocations: 7.938 kB / 0.731 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-06/0.2144, allocations: 0 / 0.731 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/0.2144, allocations: 8.859 kB / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2144, allocations: 0 / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.945e-05/0.2145, allocations: 33.7 kB / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2146, allocations: 8.078 kB / 0.7311 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2146, allocations: 11.94 kB / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2146, allocations: 0 / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.2146, allocations: 0 / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2146, allocations: 0 / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.2146, allocations: 0 / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2146, allocations: 4 kB / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/0.2147, allocations: 109.8 kB / 0.7312 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.2148, allocations: 0 / 0.7312 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.2148, allocations: 44.62 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2148, allocations: 0 / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2148, allocations: 4 kB / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2149, allocations: 0 / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.215, allocations: 116.8 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.215, allocations: 3.938 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.215, allocations: 4 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.215, allocations: 0 / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.215, allocations: 7.922 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.215, allocations: 0 / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.215, allocations: 4.031 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.118e-05/0.2151, allocations: 61.08 kB / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.2151, allocations: 0 / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.2151, allocations: 3.938 kB / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.2151, allocations: 0 / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.2151, allocations: 3.984 kB / 0.7314 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2151, allocations: 8 kB / 0.7314 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.2152, allocations: 79.31 kB / 0.7315 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2152, allocations: 0 / 0.7315 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001959/0.2154, allocations: 11.94 kB / 0.7315 GB, free: 13.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004998/0.2159, allocations: 0.6123 MB / 0.7321 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.216, allocations: 8.031 kB / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.216, allocations: 0 / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-06/0.216, allocations: 4 kB / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2161, allocations: 0 / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.2164, allocations: 110.5 kB / 0.7322 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.2168, allocations: 0.6729 MB / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.2168, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.2168, allocations: 7.562 kB / 0.7329 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2168, allocations: 4 kB / 0.7329 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.2571, allocations: 1.282 MB / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.44, allocations: 8.391 kB / 0.7342 GB, free: 11.09 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.173254657071084] Failed to read output from testmodel.py, exit status != 0: 11.543429221957922 11.567533011 11.350219579 Calling exit ...