Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",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.001474/0.001473, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.684/2.684, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.316/1.316, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006995/0.0007001, allocations: 15.97 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.301, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 1.106/1.407, allocations: 194.8 MB / 0.747 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0342/1.441, allocations: 14.5 MB / 0.7611 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/1.445, allocations: 51.62 kB / 0.7612 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005524/1.451, allocations: 0.945 MB / 0.7621 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0167/1.468, allocations: 3.051 MB / 0.7651 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007517/1.475, allocations: 1.469 MB / 0.7665 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007484/1.483, allocations: 2.023 MB / 0.7685 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/1.486, allocations: 0.957 MB / 0.7694 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008388/1.495, allocations: 1.713 MB / 0.7711 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/1.497, allocations: 0.6845 MB / 0.7718 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004716/1.498, allocations: 47.98 kB / 0.7718 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008442/1.506, allocations: 1.677 MB / 0.7734 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001396/1.508, allocations: 362.8 kB / 0.7738 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/1.509, allocations: 332.9 kB / 0.7741 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006278/1.516, allocations: 1.881 MB / 0.7759 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.516, allocations: 0 / 0.7759 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.825e-06/1.516, allocations: 0 / 0.7759 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.403e-05/1.516, allocations: 0 / 0.7759 GB, free: 9.484 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005736/1.522, allocations: 1.698 MB / 0.7776 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/1.522, allocations: 8.031 kB / 0.7776 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004848/1.522, allocations: 152.2 kB / 0.7778 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/1.527, allocations: 0.5327 MB / 0.7783 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/1.531, allocations: 1.076 MB / 0.7793 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001387/1.532, allocations: 273.8 kB / 0.7796 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003982/1.533, allocations: 104 kB / 0.7797 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/1.536, allocations: 1.322 MB / 0.781 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/1.537, allocations: 3.938 kB / 0.781 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/1.537, allocations: 44.88 kB / 0.781 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.641e-05/1.537, allocations: 41.98 kB / 0.7811 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003844/1.541, allocations: 1.108 MB / 0.7821 GB, free: 2.926 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/1.553, allocations: 6.701 MB / 0.7887 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/1.556, allocations: 0.6482 MB / 0.7893 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/1.556, allocations: 16.27 kB / 0.7893 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/1.556, allocations: 34.84 kB / 0.7894 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 4.499e-06/1.556, allocations: 0 / 0.7894 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0045/1.561, allocations: 0.915 MB / 0.7903 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/1.561, allocations: 55.41 kB / 0.7903 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/1.565, allocations: 1.354 MB / 0.7916 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/1.565, allocations: 37.7 kB / 0.7917 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.566, allocations: 0.6872 MB / 0.7923 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/1.567, allocations: 114.5 kB / 0.7925 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/1.567, allocations: 12 kB / 0.7925 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.567, allocations: 330 kB / 0.7928 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/1.569, allocations: 325.1 kB / 0.7931 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.57, allocations: 0.6413 MB / 0.7937 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.572, allocations: 404.7 kB / 0.7941 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.572, allocations: 4 kB / 0.7941 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004299/1.576, allocations: 1.03 MB / 0.7951 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.00202/1.578, allocations: 3.821 MB / 0.7988 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/1.579, allocations: 8 kB / 0.7989 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.473e-05/1.579, allocations: 16 kB / 0.7989 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.58, allocations: 207.7 kB / 0.7991 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-05/1.58, allocations: 15.94 kB / 0.7991 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/1.583, allocations: 234.8 kB / 0.7993 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.583, allocations: 35.98 kB / 0.7993 GB, free: 432 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.583, allocations: 5.719 kB / 0.7993 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003946/1.587, allocations: 0.8781 MB / 0.8002 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/1.587, allocations: 19.92 kB / 0.8002 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/1.588, allocations: 12 kB / 0.8002 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.589, allocations: 200.4 kB / 0.8004 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-05/1.589, allocations: 15.94 kB / 0.8004 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.592, allocations: 206.9 kB / 0.8006 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/1.592, allocations: 43.94 kB / 0.8007 GB, free: 15.05 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (78): * Single equations (assignments): 78 * 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 0.001187/1.593, allocations: 408.8 kB / 0.8011 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/1.594, allocations: 134.3 kB / 0.8012 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/1.597, allocations: 0.683 MB / 0.8019 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.597, allocations: 8 kB / 0.8019 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.597, allocations: 3.984 kB / 0.8019 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.597, allocations: 0 / 0.8019 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008219/1.605, allocations: 2.543 MB / 0.8044 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.605, allocations: 8 kB / 0.8044 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/1.606, allocations: 111.9 kB / 0.8045 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.981e-05/1.606, allocations: 12.09 kB / 0.8045 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/1.606, allocations: 27.97 kB / 0.8045 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.11e-05/1.606, allocations: 11.94 kB / 0.8045 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.606, allocations: 8 kB / 0.8045 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/1.61, allocations: 1.4 MB / 0.8059 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.611, allocations: 295.2 kB / 0.8062 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/1.611, allocations: 19.83 kB / 0.8062 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.613, allocations: 119.8 kB / 0.8063 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.614, allocations: 43.75 kB / 0.8064 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.614, allocations: 27.98 kB / 0.8064 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002832/1.616, allocations: 0.9356 MB / 0.8073 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.61e-07/1.616, allocations: 0 / 0.8073 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00393/1.62, allocations: 0.5849 MB / 0.8079 GB, free: 7.156 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (32): * Single equations (assignments): 32 * 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.006817/1.627, allocations: 4.146 MB / 0.8119 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005206/1.633, allocations: 1.139 MB / 0.813 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/1.633, allocations: 1 kB / 0.813 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.634, allocations: 289.4 kB / 0.8133 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/1.64, allocations: 0.6373 MB / 0.8139 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/1.678, allocations: 14.04 MB / 0.8276 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.68, allocations: 1.212 MB / 0.8288 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003458/1.684, allocations: 350.8 kB / 0.8292 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.685, allocations: 483.3 kB / 0.8296 GB, free: 40 kB / 0.6387 GB Notification: Performance of SimCode: time 2.324e-06/1.685, allocations: 0 / 0.8296 GB, free: 40 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7513/2.436, allocations: 33.38 MB / 0.8622 GB, free: 221 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/2.437, allocations: 215.7 kB / 0.8624 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.952/7.389, allocations: 0 / 0.8624 GB, free: 220.8 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: