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.0007421/0.0007422, allocations: 92.62 kB / 15.7 MB, free: 472 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.0009559/0.0009559, allocations: 171.1 kB / 16.58 MB, free: 6.062 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.183/1.183, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6002/0.6002, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 8.219 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.3649/0.477, allocations: 176.3 MB / 0.7291 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006898/0.4839, allocations: 4.876 MB / 0.7338 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.4849, allocations: 39.69 kB / 0.7339 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.4863, allocations: 0.6218 MB / 0.7345 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.4905, allocations: 1.886 MB / 0.7363 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.4926, allocations: 0.9065 MB / 0.7372 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.4954, allocations: 3.019 MB / 0.7402 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.4966, allocations: 0.7297 MB / 0.7409 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.4982, allocations: 0.9804 MB / 0.7418 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.4994, allocations: 0.9146 MB / 0.7427 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.4996, allocations: 44 kB / 0.7428 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.5015, allocations: 0.9314 MB / 0.7437 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.5019, allocations: 398.7 kB / 0.744 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.5022, allocations: 268.9 kB / 0.7443 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.5034, allocations: 1.344 MB / 0.7456 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.5034, allocations: 4 kB / 0.7456 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5034, allocations: 0 / 0.7456 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5034, allocations: 0 / 0.7456 GB, free: 9.512 MB / 0.5606 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.003658/0.5071, allocations: 1.693 MB / 0.7473 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.5071, allocations: 8.031 kB / 0.7473 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5072, allocations: 135.5 kB / 0.7474 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.5104, allocations: 0.7006 MB / 0.7481 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5114, allocations: 0.8444 MB / 0.7489 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.5115, allocations: 72.05 kB / 0.749 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.5116, allocations: 87.94 kB / 0.7491 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.5141, allocations: 1.478 MB / 0.7505 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5142, allocations: 7.938 kB / 0.7505 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.5143, allocations: 36 kB / 0.7506 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.5143, allocations: 45.98 kB / 0.7506 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.5176, allocations: 1.541 MB / 0.7521 GB, free: 2.676 MB / 0.5606 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.005606/0.5232, allocations: 5.514 MB / 0.7575 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.5262, allocations: 1.316 MB / 0.7588 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.5276, allocations: 0.6592 MB / 0.7594 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.5283, allocations: 0.6007 MB / 0.76 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.5298, allocations: 0.7229 MB / 0.7607 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.505e-06/0.5298, allocations: 0 / 0.7607 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.004512/0.5343, allocations: 1.901 MB / 0.7626 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.5344, allocations: 60.06 kB / 0.7626 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.5356, allocations: 1.227 MB / 0.7638 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.675e-05/0.5356, allocations: 45.7 kB / 0.7639 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.536, allocations: 0.583 MB / 0.7644 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.5362, allocations: 276.1 kB / 0.7647 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.5363, allocations: 16 kB / 0.7647 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5364, allocations: 345.9 kB / 0.765 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.5377, allocations: 0.5523 MB / 0.7656 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.5392, allocations: 0.8252 MB / 0.7664 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.5405, allocations: 0.5886 MB / 0.767 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5405, allocations: 8 kB / 0.767 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003089/0.5436, allocations: 1.515 MB / 0.7685 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5436, allocations: 10.19 kB / 0.7685 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5437, allocations: 4 kB / 0.7685 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.5437, allocations: 16 kB / 0.7685 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.5449, allocations: 299.6 kB / 0.7688 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.5449, allocations: 19.92 kB / 0.7688 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.546, allocations: 218.8 kB / 0.769 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.5461, allocations: 55.95 kB / 0.769 GB, free: 0.7461 MB / 0.5762 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.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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.0003848/0.5465, allocations: 336.4 kB / 0.7694 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5466, allocations: 138.3 kB / 0.7695 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/0.5498, allocations: 1.436 MB / 0.7709 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5498, allocations: 8 kB / 0.7709 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5498, allocations: 0 / 0.7709 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5498, allocations: 3.984 kB / 0.7709 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/0.5545, allocations: 2.823 MB / 0.7737 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5545, allocations: 4.094 kB / 0.7737 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5555, allocations: 223.7 kB / 0.7739 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.5555, allocations: 11.98 kB / 0.7739 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.5556, allocations: 27.98 kB / 0.7739 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.5556, allocations: 11.98 kB / 0.7739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5556, allocations: 7.938 kB / 0.7739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.56, allocations: 2.271 MB / 0.7762 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.5604, allocations: 311.3 kB / 0.7765 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.5605, allocations: 23.98 kB / 0.7765 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.5614, allocations: 135.8 kB / 0.7766 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5616, allocations: 68.38 kB / 0.7767 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.5616, allocations: 39.97 kB / 0.7767 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008627/0.5625, allocations: 0.8444 MB / 0.7775 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5625, allocations: 0 / 0.7775 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008171/0.5633, allocations: 311.6 kB / 0.7778 GB, free: 7.547 MB / 0.5919 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 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.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.005674/0.569, allocations: 3.246 MB / 0.781 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.5719, allocations: 1.294 MB / 0.7823 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5719, allocations: 4.25 kB / 0.7823 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.5733, allocations: 0.648 MB / 0.7829 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.5755, allocations: 0.5721 MB / 0.7835 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.5885, allocations: 8.655 MB / 0.7919 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.5891, allocations: 1.167 MB / 0.7931 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001276/0.5904, allocations: 341.9 kB / 0.7934 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.591, allocations: 499.2 kB / 0.7939 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.591, allocations: 0 / 0.7939 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.8384, allocations: 32.18 MB / 0.8253 GB, free: 215.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001148/0.8385, allocations: 243.5 kB / 0.8255 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/3.025, allocations: 1.375 kB / 0.8255 GB, free: 215.1 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: