Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001288/0.001288, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001428/0.001428, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9751/0.9751, allocations: 150 MB / 463.9 MB, free: 10.2 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.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",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.002117/0.002117, allocations: 62.66 kB / 0.642 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2222, allocations: 89.18 MB / 0.729 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003177/0.2254, allocations: 1.455 MB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.2262, allocations: 358.8 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2263, allocations: 0 / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.2263, allocations: 3.938 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.2264, allocations: 7.938 kB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.2269, allocations: 111.7 kB / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.045e-05/0.227, allocations: 27.92 kB / 0.7309 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.2271, allocations: 4 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.2271, allocations: 11.92 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.2271, allocations: 8 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2272, allocations: 4 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.2276, allocations: 275.6 kB / 0.7312 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.2276, allocations: 15.92 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2276, allocations: 7.938 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2279, allocations: 108 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2279, allocations: 0 / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2279, allocations: 3.938 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2279, allocations: 4 kB / 0.7314 GB, free: 14.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005181/0.2284, allocations: 294 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2285, allocations: 8.031 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.337e-05/0.2285, allocations: 192 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.2285, allocations: 34.75 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.2286, allocations: 12.83 kB / 0.7317 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2287, allocations: 106.5 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2287, allocations: 384 / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2287, allocations: 384 / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2289, allocations: 53.98 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2289, allocations: 0 / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2289, allocations: 0 / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2289, allocations: 8 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.2291, allocations: 35.95 kB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.2295, allocations: 227.9 kB / 0.7321 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.2296, allocations: 38.59 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.2297, allocations: 24.91 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.2303, allocations: 75.91 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.2303, allocations: 30.56 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.2303, allocations: 4 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003968/0.2307, allocations: 89.53 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.2307, allocations: 51.53 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2308, allocations: 105.9 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2309, allocations: 29.64 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.2309, allocations: 88.12 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2309, allocations: 7.953 kB / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.231, allocations: 9.719 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.2312, allocations: 318.8 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.2313, allocations: 11.98 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2314, allocations: 19.97 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2316, allocations: 48.77 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2316, allocations: 0 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002326/0.2318, allocations: 73.59 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2319, allocations: 8 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2319, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2319, allocations: 3.984 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.232, allocations: 12.02 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.232, allocations: 0 / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.232, allocations: 4 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.232, allocations: 4 kB / 0.7331 GB, free: 12.39 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 (2): * Single equations (assignments): 2 * 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 9.547e-05/0.2321, allocations: 117.7 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.2322, allocations: 7.953 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.2324, allocations: 73.22 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.2324, allocations: 4 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2324, allocations: 4.031 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2324, allocations: 0 / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2326, allocations: 128.7 kB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2326, allocations: 0 / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.2327, allocations: 11.98 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2327, allocations: 0 / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2327, allocations: 256 / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2327, allocations: 4 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2327, allocations: 0 / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.2331, allocations: 171.5 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.2331, allocations: 0 / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2331, allocations: 0 / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.2332, allocations: 7.984 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2332, allocations: 4 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2332, allocations: 4 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.2333, allocations: 87.2 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2333, allocations: 0 / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002672/0.2335, allocations: 12 kB / 0.7337 GB, free: 11.69 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 (2): * Single equations (assignments): 2 * 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.000707/0.2342, allocations: 0.7162 MB / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2345, allocations: 43.89 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2345, allocations: 0 / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.2345, allocations: 23.86 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2348, allocations: 14.03 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.2353, allocations: 147 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.2354, allocations: 59.36 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.2354, allocations: 3.984 kB / 0.7347 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.2355, allocations: 11.44 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2355, allocations: 0 / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.2638, allocations: 1.776 MB / 0.7365 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.57, allocations: 16.47 kB / 0.7365 GB, free: 8.957 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.484573432942852] Failed to read output from testmodel.py, exit status != 0: 11.738920654985122 11.756794437 11.525478962 Calling exit ...