Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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.001412/0.001412, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8499/0.8499, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 114.1 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.926e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5372, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.6976, allocations: 109.7 MB / 0.741 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.6978, allocations: 67.97 kB / 0.7411 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006415/0.6985, allocations: 421.9 kB / 0.7415 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6985, allocations: 0 / 0.7415 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.341e-06/0.6985, allocations: 0 / 0.7415 GB, free: 12.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002628/0.6988, allocations: 310.4 kB / 0.7418 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.6988, allocations: 16.03 kB / 0.7418 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.6989, allocations: 0 / 0.7418 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.699, allocations: 163 kB / 0.742 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.699, allocations: 4 kB / 0.742 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.699, allocations: 0 / 0.742 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.346e-05/0.6991, allocations: 8 kB / 0.742 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.6992, allocations: 47.41 kB / 0.742 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6992, allocations: 0 / 0.742 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.6992, allocations: 0 / 0.742 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6992, allocations: 0 / 0.742 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.6994, allocations: 134.5 kB / 0.7422 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.6994, allocations: 45.17 kB / 0.7422 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.6995, allocations: 13.84 kB / 0.7422 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.6995, allocations: 3.984 kB / 0.7422 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6995, allocations: 34.55 kB / 0.7423 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 3.697e-06/0.6996, allocations: 0 / 0.7423 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.6997, allocations: 41.64 kB / 0.7423 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.6998, allocations: 81.11 kB / 0.7424 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.354e-05/0.6998, allocations: 85 kB / 0.7425 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6998, allocations: 25.7 kB / 0.7425 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.6999, allocations: 80.14 kB / 0.7426 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.6999, allocations: 11.84 kB / 0.7426 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.6999, allocations: 0 / 0.7426 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7, allocations: 314.8 kB / 0.7429 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.7001, allocations: 4.062 kB / 0.7429 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.7001, allocations: 13.72 kB / 0.7429 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.7001, allocations: 7.938 kB / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7001, allocations: 0 / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.318e-05/0.7002, allocations: 37.64 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7002, allocations: 15.94 kB / 0.7429 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7002, allocations: 0 / 0.7429 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7002, allocations: 4.125 kB / 0.743 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.7003, allocations: 4 kB / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.7003, allocations: 0 / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.7003, allocations: 0 / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.7004, allocations: 4 kB / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.774e-05/0.7004, allocations: 104.9 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.452e-05/0.7005, allocations: 41.59 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.7005, allocations: 3.953 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.7006, allocations: 53.44 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.7006, allocations: 0 / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7007, allocations: 4 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7007, allocations: 3.938 kB / 0.7432 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.581e-05/0.7008, allocations: 122.2 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7008, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.7008, allocations: 4 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7008, allocations: 3.953 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.7008, allocations: 7.984 kB / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7008, allocations: 4.062 kB / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7008, allocations: 3.938 kB / 0.7433 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.225e-05/0.7009, allocations: 71.72 kB / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.701, allocations: 85.05 kB / 0.7434 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.701, allocations: 4 kB / 0.7435 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.701, allocations: 8.031 kB / 0.7435 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.701, allocations: 4 kB / 0.7435 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-06/0.701, allocations: 0 / 0.7435 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.7011, allocations: 75.28 kB / 0.7435 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7011, allocations: 4 kB / 0.7435 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002105/0.7013, allocations: 0 / 0.7435 GB, free: 10.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004052/0.7017, allocations: 0.6837 MB / 0.7442 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.386e-05/0.7018, allocations: 4 kB / 0.7442 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7018, allocations: 0 / 0.7442 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-06/0.7018, allocations: 7.938 kB / 0.7442 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.7019, allocations: 6 kB / 0.7442 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.7022, allocations: 94.72 kB / 0.7443 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.7026, allocations: 0.6768 MB / 0.745 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.7026, allocations: 0 / 0.745 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.7026, allocations: 7.438 kB / 0.745 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.7026, allocations: 0 / 0.745 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.7536, allocations: 454.9 kB / 0.7454 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.754, allocations: 120.4 kB / 0.7455 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.32, allocations: 0 / 0.7455 GB, free: 7.953 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)