Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001577/0.001577, allocations: 96.27 kB / 15.69 MB, free: 480 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.002168/0.002168, allocations: 178.2 kB / 16.57 MB, free: 6.859 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.812/2.812, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.333/1.333, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005869/0.000587, allocations: 12.53 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3759, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 1.191/1.567, allocations: 160.7 MB / 0.7137 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0196/1.587, allocations: 5.037 MB / 0.7186 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/1.591, allocations: 39.69 kB / 0.7186 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004725/1.595, allocations: 0.7821 MB / 0.7194 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.606, allocations: 1.788 MB / 0.7212 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005839/1.612, allocations: 1.171 MB / 0.7223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00605/1.618, allocations: 1.638 MB / 0.7239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/1.621, allocations: 0.7767 MB / 0.7247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/1.625, allocations: 0.954 MB / 0.7256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/1.627, allocations: 0.6733 MB / 0.7262 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004259/1.627, allocations: 44 kB / 0.7263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004167/1.632, allocations: 0.7488 MB / 0.727 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/1.633, allocations: 370.8 kB / 0.7274 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.634, allocations: 265 kB / 0.7276 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/1.637, allocations: 1.21 MB / 0.7288 GB, free: 9.879 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.638, allocations: 0 / 0.7288 GB, free: 9.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.336e-06/1.638, allocations: 0 / 0.7288 GB, free: 9.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.343e-05/1.638, allocations: 0 / 0.7288 GB, free: 9.879 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.009286/1.647, allocations: 1.658 MB / 0.7304 GB, free: 8.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/1.647, allocations: 12.03 kB / 0.7304 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006003/1.648, allocations: 135.5 kB / 0.7306 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/1.654, allocations: 0.7084 MB / 0.7313 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/1.658, allocations: 0.8405 MB / 0.7321 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/1.658, allocations: 73.97 kB / 0.7322 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/1.658, allocations: 88 kB / 0.7322 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/1.662, allocations: 1.466 MB / 0.7337 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/1.662, allocations: 7.938 kB / 0.7337 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/1.662, allocations: 32 kB / 0.7337 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/1.662, allocations: 49.98 kB / 0.7338 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/1.666, allocations: 1.534 MB / 0.7353 GB, free: 3.086 MB / 0.545 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.008822/1.675, allocations: 5.151 MB / 0.7403 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/1.68, allocations: 1.312 MB / 0.7416 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/1.68, allocations: 161.7 kB / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/1.682, allocations: 0.7179 MB / 0.7424 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.868e-06/1.682, allocations: 3.938 kB / 0.7424 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.006453/1.689, allocations: 1.909 MB / 0.7443 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/1.689, allocations: 64.05 kB / 0.7443 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.691, allocations: 1.231 MB / 0.7456 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.691, allocations: 45.7 kB / 0.7456 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005913/1.692, allocations: 0.5791 MB / 0.7462 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/1.692, allocations: 276.1 kB / 0.7464 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/1.692, allocations: 16 kB / 0.7464 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.692, allocations: 341.9 kB / 0.7468 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/1.694, allocations: 0.5484 MB / 0.7473 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/1.696, allocations: 0.8252 MB / 0.7481 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/1.698, allocations: 0.5964 MB / 0.7487 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.698, allocations: 0 / 0.7487 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004613/1.703, allocations: 1.51 MB / 0.7502 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/1.703, allocations: 11.98 kB / 0.7502 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/1.703, allocations: 8.875 kB / 0.7502 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/1.703, allocations: 16 kB / 0.7502 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/1.704, allocations: 299.5 kB / 0.7505 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/1.704, allocations: 19.92 kB / 0.7505 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.706, allocations: 222.7 kB / 0.7507 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.706, allocations: 59.92 kB / 0.7508 GB, free: 2.711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.000784/1.707, allocations: 339.7 kB / 0.7511 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/1.708, allocations: 126.4 kB / 0.7512 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/1.712, allocations: 1.428 MB / 0.7526 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.712, allocations: 8 kB / 0.7526 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.712, allocations: 3.938 kB / 0.7526 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.712, allocations: 7.984 kB / 0.7526 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007179/1.719, allocations: 2.834 MB / 0.7554 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.719, allocations: 4 kB / 0.7554 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.721, allocations: 232 kB / 0.7556 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/1.721, allocations: 8 kB / 0.7556 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/1.721, allocations: 31.97 kB / 0.7557 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/1.721, allocations: 7.938 kB / 0.7557 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.721, allocations: 4 kB / 0.7557 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007412/1.728, allocations: 2.496 MB / 0.7581 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.729, allocations: 307.1 kB / 0.7584 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/1.73, allocations: 23.98 kB / 0.7584 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.731, allocations: 135.9 kB / 0.7586 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.731, allocations: 60.39 kB / 0.7586 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/1.731, allocations: 35.97 kB / 0.7586 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001537/1.733, allocations: 0.8445 MB / 0.7595 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.733, allocations: 3.938 kB / 0.7595 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001595/1.735, allocations: 315.7 kB / 0.7598 GB, free: 9.223 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.009355/1.744, allocations: 4.539 MB / 0.7642 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004365/1.748, allocations: 1.29 MB / 0.7655 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/1.748, allocations: 4 kB / 0.7655 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/1.751, allocations: 0.656 MB / 0.7661 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.754, allocations: 0.5579 MB / 0.7667 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/1.795, allocations: 13.36 MB / 0.7797 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.797, allocations: 1.196 MB / 0.7809 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003251/1.8, allocations: 345.9 kB / 0.7812 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.802, allocations: 0.4914 MB / 0.7817 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of SimCode: time 2.655e-06/1.802, allocations: 0 / 0.7817 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.926, allocations: 32.13 MB / 0.8131 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.927, allocations: 237.1 kB / 0.8133 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.221/7.147, allocations: 3.938 kB / 0.8133 GB, free: 2.352 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: