Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.005597/0.005597, allocations: 101.6 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.266/1.266, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.665/0.665, allocations: 115.3 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 68.81 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1788, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5874/0.7662, allocations: 191.5 MB / 0.7429 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.7771, allocations: 5.176 MB / 0.7479 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.7793, allocations: 43.69 kB / 0.748 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.7819, allocations: 0.7155 MB / 0.7487 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007153/0.7891, allocations: 2.455 MB / 0.7511 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.7923, allocations: 1.003 MB / 0.7521 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.7972, allocations: 3.619 MB / 0.7556 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.799, allocations: 0.8573 MB / 0.7564 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.8015, allocations: 1.015 MB / 0.7574 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.8034, allocations: 1.031 MB / 0.7584 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.8037, allocations: 56 kB / 0.7585 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.808, allocations: 2.073 MB / 0.7605 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.8087, allocations: 430.6 kB / 0.7609 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.8101, allocations: 0.6331 MB / 0.7615 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00516/0.8152, allocations: 2.262 MB / 0.7638 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.8153, allocations: 0 / 0.7638 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8153, allocations: 0 / 0.7638 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.121e-05/0.8154, allocations: 0 / 0.7638 GB, free: 1.836 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006662/0.822, allocations: 1.958 MB / 0.7657 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.8221, allocations: 8.031 kB / 0.7657 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.8224, allocations: 147.5 kB / 0.7658 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/0.8283, allocations: 0.8993 MB / 0.7667 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.8303, allocations: 0.9021 MB / 0.7676 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/0.8304, allocations: 66 kB / 0.7676 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/0.8307, allocations: 95.89 kB / 0.7677 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/0.8351, allocations: 1.583 MB / 0.7693 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.8352, allocations: 3.938 kB / 0.7693 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.8353, allocations: 32 kB / 0.7693 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.8354, allocations: 49.98 kB / 0.7694 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/0.8411, allocations: 1.85 MB / 0.7712 GB, free: 10.09 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.009297/0.8504, allocations: 4.738 MB / 0.7758 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004667/0.8551, allocations: 1.552 MB / 0.7773 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.8575, allocations: 0.8516 MB / 0.7781 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.859, allocations: 0.9491 MB / 0.7791 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002673/0.8617, allocations: 0.9071 MB / 0.7799 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 6.483e-06/0.8617, allocations: 7.938 kB / 0.78 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007937/0.8696, allocations: 2.45 MB / 0.7823 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.8697, allocations: 64.34 kB / 0.7824 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.8715, allocations: 1.197 MB / 0.7836 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.8717, allocations: 49.64 kB / 0.7836 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.8722, allocations: 0.5409 MB / 0.7842 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.8726, allocations: 327.3 kB / 0.7845 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.873, allocations: 182.6 kB / 0.7846 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8731, allocations: 353.9 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.8754, allocations: 0.6927 MB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.8778, allocations: 0.9177 MB / 0.7865 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/0.8823, allocations: 1.55 MB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.8823, allocations: 5.312 kB / 0.7881 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005631/0.8879, allocations: 1.78 MB / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.888, allocations: 10.19 kB / 0.7898 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.888, allocations: 4 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.8881, allocations: 8.438 kB / 0.7898 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.8899, allocations: 347.5 kB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/0.89, allocations: 11.98 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.8919, allocations: 254.6 kB / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.8921, allocations: 47.97 kB / 0.7905 GB, free: 5.703 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007969/0.8929, allocations: 343.7 kB / 0.7908 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.8934, allocations: 134.4 kB / 0.7909 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.8988, allocations: 1.796 MB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.8988, allocations: 8 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.8988, allocations: 4 kB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8988, allocations: 3.984 kB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/0.9067, allocations: 3.343 MB / 0.7959 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.9068, allocations: 4 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.9086, allocations: 296 kB / 0.7962 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.9086, allocations: 8 kB / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.9088, allocations: 31.97 kB / 0.7963 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.9088, allocations: 12 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.9088, allocations: 7.938 kB / 0.7963 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00796/0.9168, allocations: 2.843 MB / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.9177, allocations: 315.2 kB / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.9181, allocations: 27.98 kB / 0.7994 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.9198, allocations: 171.7 kB / 0.7996 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.92, allocations: 80.44 kB / 0.7996 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.9202, allocations: 35.97 kB / 0.7997 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001436/0.9216, allocations: 0.8315 MB / 0.8005 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9216, allocations: 0 / 0.8005 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001482/0.9231, allocations: 343.6 kB / 0.8008 GB, free: 10.88 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009808/0.9329, allocations: 3.84 MB / 0.8046 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005293/0.9383, allocations: 1.619 MB / 0.8061 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.9383, allocations: 256 / 0.8061 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.9409, allocations: 0.8358 MB / 0.807 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/0.9445, allocations: 0.5794 MB / 0.8075 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/0.974, allocations: 13.23 MB / 0.8204 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009331/0.975, allocations: 1.187 MB / 0.8216 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001841/0.9768, allocations: 366 kB / 0.8219 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009102/0.9778, allocations: 0.4993 MB / 0.8224 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.9778, allocations: 0 / 0.8224 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/1.296, allocations: 34.11 MB / 0.8557 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.297, allocations: 238.2 kB / 0.856 GB, free: 223.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.181, allocations: 0 / 0.856 GB, free: 223.6 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)