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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 180.9 kB / 8.006 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5202/0.5202, allocations: 90.9 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 95.89 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.33e-05, allocations: 11.11 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1527, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5155/0.6683, allocations: 100.8 MB / 0.652 GB, free: 9.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.6686, allocations: 72.58 kB / 0.6521 GB, free: 9.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002335/0.671, allocations: 0.7722 MB / 0.6529 GB, free: 8.477 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.671, allocations: 4 kB / 0.6529 GB, free: 8.473 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.671, allocations: 0 / 0.6529 GB, free: 8.473 MB / 458.7 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.0004579/0.6715, allocations: 346.6 kB / 0.6532 GB, free: 8.094 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.6715, allocations: 20.02 kB / 0.6532 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.6717, allocations: 15.94 kB / 0.6532 GB, free: 8.059 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.6719, allocations: 167.1 kB / 0.6534 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.6719, allocations: 0 / 0.6534 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.672, allocations: 0 / 0.6534 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.27e-05/0.6721, allocations: 11.69 kB / 0.6534 GB, free: 7.848 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.6722, allocations: 41.38 kB / 0.6534 GB, free: 7.805 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6722, allocations: 0 / 0.6534 GB, free: 7.805 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6722, allocations: 0 / 0.6534 GB, free: 7.805 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.6722, allocations: 11.94 kB / 0.6534 GB, free: 7.793 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.6727, allocations: 256 kB / 0.6537 GB, free: 7.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.6728, allocations: 30.23 kB / 0.6537 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.6728, allocations: 15.92 kB / 0.6537 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6729, allocations: 7.297 kB / 0.6537 GB, free: 7.469 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.6729, allocations: 34.31 kB / 0.6538 GB, free: 7.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.6729, allocations: 4 kB / 0.6538 GB, free: 7.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.6731, allocations: 41.17 kB / 0.6538 GB, free: 7.383 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.6731, allocations: 55.36 kB / 0.6539 GB, free: 7.316 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.6732, allocations: 104.5 kB / 0.654 GB, free: 7.211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.6733, allocations: 29.64 kB / 0.654 GB, free: 7.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.6733, allocations: 87.8 kB / 0.6541 GB, free: 7.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.6734, allocations: 11.84 kB / 0.6541 GB, free: 7.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.6734, allocations: 0 / 0.6541 GB, free: 7.078 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6735, allocations: 310.8 kB / 0.6544 GB, free: 6.766 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.6736, allocations: 7.688 kB / 0.6544 GB, free: 6.762 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.6736, allocations: 7.562 kB / 0.6544 GB, free: 6.758 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.6736, allocations: 11.48 kB / 0.6544 GB, free: 6.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6736, allocations: 0 / 0.6544 GB, free: 6.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.56e-05/0.6737, allocations: 48.64 kB / 0.6545 GB, free: 6.703 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6738, allocations: 4 kB / 0.6545 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6738, allocations: 4 kB / 0.6545 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6738, allocations: 0 / 0.6545 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.6739, allocations: 11.98 kB / 0.6545 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6739, allocations: 0 / 0.6545 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.674, allocations: 19.94 kB / 0.6545 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.674, allocations: 4.031 kB / 0.6545 GB, free: 6.66 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/0.6741, allocations: 104.9 kB / 0.6546 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.58e-05/0.6742, allocations: 48.69 kB / 0.6546 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.6743, allocations: 11.84 kB / 0.6547 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.6743, allocations: 3.969 kB / 0.6547 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6743, allocations: 0 / 0.6547 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6743, allocations: 3.953 kB / 0.6547 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6743, allocations: 0 / 0.6547 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.6745, allocations: 145.5 kB / 0.6548 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6745, allocations: 4.031 kB / 0.6548 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.6746, allocations: 11.98 kB / 0.6548 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6746, allocations: 4 kB / 0.6548 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6746, allocations: 0 / 0.6548 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6746, allocations: 0 / 0.6548 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6746, allocations: 1.938 kB / 0.6548 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.6748, allocations: 150.7 kB / 0.655 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.6748, allocations: 81.02 kB / 0.655 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.6749, allocations: 4 kB / 0.6551 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.675, allocations: 11.98 kB / 0.6551 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.675, allocations: 0 / 0.6551 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.675, allocations: 0 / 0.6551 GB, free: 6.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.6751, allocations: 86.95 kB / 0.6551 GB, free: 5.945 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6751, allocations: 0 / 0.6551 GB, free: 5.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.6753, allocations: 12.03 kB / 0.6552 GB, free: 5.934 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005091/0.6758, allocations: 0.6648 MB / 0.6558 GB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.676, allocations: 27.23 kB / 0.6558 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.676, allocations: 3.938 kB / 0.6558 GB, free: 5.223 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.676, allocations: 11.72 kB / 0.6558 GB, free: 5.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.6762, allocations: 4 kB / 0.6559 GB, free: 5.211 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.6767, allocations: 96.89 kB / 0.6559 GB, free: 5.082 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.677, allocations: 0.6807 MB / 0.6566 GB, free: 4.375 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.6771, allocations: 8 kB / 0.6566 GB, free: 4.367 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.6771, allocations: 11.12 kB / 0.6566 GB, free: 4.359 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6771, allocations: 0 / 0.6566 GB, free: 4.359 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.6994, allocations: 0.8596 MB / 0.6575 GB, free: 3.512 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.6997, allocations: 139.7 kB / 0.6576 GB, free: 3.312 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.194, allocations: 0 / 0.6576 GB, free: 3.312 MB / 458.7 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/linux/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)