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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 108.5 kB / 16.4 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 193.2 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.351/1.351, allocations: 115.3 MB / 406.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002889, allocations: 67.98 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2144, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003497/0.2179, allocations: 1.423 MB / 0.633 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.2184, allocations: 96.58 kB / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.2185, allocations: 0 / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.321e-05/0.2186, allocations: 3.938 kB / 0.6331 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.2187, allocations: 11.92 kB / 0.6331 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.2191, allocations: 15.92 kB / 0.6331 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.2193, allocations: 23.92 kB / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2195, allocations: 4 kB / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.2196, allocations: 15.98 kB / 0.6331 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.2196, allocations: 11.94 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.2197, allocations: 0 / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.2198, allocations: 19.98 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.2198, allocations: 7.922 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.2199, allocations: 11.94 kB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2201, allocations: 35.94 kB / 0.6332 GB, free: 3.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2201, allocations: 0 / 0.6332 GB, free: 3.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.18e-06/0.2201, allocations: 0 / 0.6332 GB, free: 3.191 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2201, allocations: 3.938 kB / 0.6332 GB, free: 3.188 MB / 478.1 MB 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.0007617/0.2209, allocations: 346.3 kB / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.805e-05/0.221, allocations: 8.031 kB / 0.6336 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.2211, allocations: 30.75 kB / 0.6336 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.2213, allocations: 12.92 kB / 0.6336 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2216, allocations: 168.9 kB / 0.6338 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.2216, allocations: 8.359 kB / 0.6338 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2217, allocations: 384 / 0.6338 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.222, allocations: 62.16 kB / 0.6338 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2221, allocations: 7.938 kB / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2221, allocations: 0 / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.2221, allocations: 4 kB / 0.6339 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.2225, allocations: 47.95 kB / 0.6339 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.2231, allocations: 257.2 kB / 0.6341 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.2233, allocations: 58.48 kB / 0.6342 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2235, allocations: 36.83 kB / 0.6342 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2236, allocations: 0 / 0.6342 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2236, allocations: 30.56 kB / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.562e-06/0.2236, allocations: 0 / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.000649/0.2243, allocations: 101.6 kB / 0.6344 GB, free: 1.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2243, allocations: 55.41 kB / 0.6344 GB, free: 1.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2245, allocations: 109.8 kB / 0.6345 GB, free: 1.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2245, allocations: 25.7 kB / 0.6345 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.2246, allocations: 84.08 kB / 0.6346 GB, free: 1.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.2246, allocations: 8.031 kB / 0.6346 GB, free: 1.547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.2247, allocations: 21.7 kB / 0.6347 GB, free: 1.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2249, allocations: 314.8 kB / 0.635 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.225, allocations: 23.92 kB / 0.635 GB, free: 1.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2252, allocations: 23.97 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.2255, allocations: 56.88 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.2255, allocations: 3.938 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003969/0.2259, allocations: 77.55 kB / 0.6351 GB, free: 1.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.226, allocations: 9.562 kB / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.226, allocations: 0 / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.226, allocations: 0 / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2262, allocations: 23.95 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2262, allocations: 0 / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2263, allocations: 7.984 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2264, allocations: 0 / 0.6352 GB, free: 0.9727 MB / 478.1 MB 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.0001221/0.2265, allocations: 117.7 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.2266, allocations: 0 / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.2266, allocations: 7.531 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2266, allocations: 4 kB / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2267, allocations: 4 kB / 0.6353 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2267, allocations: 0 / 0.6353 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.2269, allocations: 165.6 kB / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.227, allocations: 7.984 kB / 0.6355 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.2271, allocations: 4 kB / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.2271, allocations: 7.984 kB / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2271, allocations: 0 / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2271, allocations: 0 / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2272, allocations: 256 / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.2276, allocations: 179.5 kB / 0.6356 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.2277, allocations: 85 kB / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2277, allocations: 4 kB / 0.6357 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.2279, allocations: 4 kB / 0.6357 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.228, allocations: 11.92 kB / 0.6357 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.228, allocations: 0 / 0.6357 GB, free: 292 kB / 478.1 MB Notification: Performance of sorting global known variables: time 6.742e-05/0.2281, allocations: 87.31 kB / 0.6358 GB, free: 204 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2281, allocations: 0 / 0.6358 GB, free: 204 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.2286, allocations: 4 kB / 0.6358 GB, free: 200 kB / 478.1 MB 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.000859/0.2294, allocations: 0.7124 MB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.2298, allocations: 55.88 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2299, allocations: 0 / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.23, allocations: 23.98 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.2306, allocations: 8.062 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.2314, allocations: 151.2 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.2317, allocations: 0.6768 MB / 0.6374 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.2318, allocations: 7.984 kB / 0.6374 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.2319, allocations: 11.44 kB / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of SimCode: time 3.827e-06/0.2319, allocations: 0 / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.2609, allocations: 1.477 MB / 0.6389 GB, free: 13.06 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.32, allocations: 10.27 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)