Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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.001344/0.001344, 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.001537/0.001537, allocations: 211.6 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.9769/0.9769, allocations: 150 MB / 463.9 MB, free: 10.3 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.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",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.001968/0.001968, allocations: 67.88 kB / 0.642 GB, free: 9.965 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2107, allocations: 89.17 MB / 0.729 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003652/0.2143, allocations: 1.45 MB / 0.7305 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.2146, allocations: 87.77 kB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.2147, allocations: 0 / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.2147, allocations: 3.938 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.2148, allocations: 3.938 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.215, allocations: 19.97 kB / 0.7306 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.2151, allocations: 23.94 kB / 0.7306 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.2152, allocations: 7.969 kB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.2152, allocations: 11.94 kB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.2152, allocations: 15.92 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2153, allocations: 4 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.2153, allocations: 23.92 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.2153, allocations: 4 kB / 0.7307 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.2154, allocations: 7.938 kB / 0.7307 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2155, allocations: 40.09 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2155, allocations: 4 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2155, allocations: 0 / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2155, allocations: 0 / 0.7307 GB, free: 15.14 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.0004649/0.216, allocations: 266.3 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.216, allocations: 12.03 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.097e-05/0.216, allocations: 4.188 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.2161, allocations: 30.75 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2162, allocations: 16.88 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2164, allocations: 118.5 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2164, allocations: 4.375 kB / 0.7311 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2164, allocations: 384 / 0.7311 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.2166, allocations: 57.98 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2166, allocations: 0 / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2166, allocations: 0 / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2166, allocations: 0 / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.2168, allocations: 51.94 kB / 0.7312 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.2172, allocations: 232 kB / 0.7315 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.2175, allocations: 54.48 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2176, allocations: 24.89 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2176, allocations: 4 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2176, allocations: 34.56 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2176, allocations: 0 / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004378/0.2181, allocations: 105.5 kB / 0.7317 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.2181, allocations: 55.41 kB / 0.7317 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.2182, allocations: 101.8 kB / 0.7318 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2182, allocations: 33.7 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.2183, allocations: 80.14 kB / 0.7319 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2183, allocations: 11.83 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.2184, allocations: 21.72 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2185, allocations: 314.8 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2186, allocations: 28.11 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.2187, allocations: 23.97 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.2189, allocations: 52.75 kB / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2189, allocations: 0 / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002452/0.2192, allocations: 85.64 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2192, allocations: 4 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2192, allocations: 4 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2192, allocations: 0 / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2193, allocations: 11.92 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2193, allocations: 4 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.2194, allocations: 11.98 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.2194, allocations: 0 / 0.7325 GB, free: 13.12 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 0.000112/0.2195, allocations: 119.8 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.2196, allocations: 3.953 kB / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.2196, allocations: 7.625 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2196, allocations: 0 / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2196, allocations: 4.25 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2196, allocations: 0 / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.2198, allocations: 132.7 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2198, allocations: 0 / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.2199, allocations: 11.98 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.2199, allocations: 4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2199, allocations: 7.984 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2199, allocations: 0 / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2199, allocations: 0 / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2202, allocations: 179.4 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.2202, allocations: 0 / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2202, allocations: 0 / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.2203, allocations: 15.98 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2204, allocations: 8.016 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2204, allocations: 0 / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.2204, allocations: 79.28 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2204, allocations: 4 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002274/0.2207, allocations: 11.94 kB / 0.733 GB, free: 12.47 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.0006588/0.2213, allocations: 0.7084 MB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2216, allocations: 55.98 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2216, allocations: 0 / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.2217, allocations: 23.97 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.222, allocations: 5.875 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.2226, allocations: 159.2 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.2227, allocations: 67.28 kB / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2227, allocations: 0 / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.2228, allocations: 7.438 kB / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2228, allocations: 0 / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.2477, allocations: 1.708 MB / 0.7357 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 17.67 kB / 0.7357 GB, free: 9.801 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.445366583997384] Failed to read output from testmodel.py, exit status != 0: 11.814391096006148 11.83061868 11.611649495 Calling exit ...