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.001024/0.001024, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001054/0.001054, allocations: 199.1 kB / 17.34 MB, free: 5.762 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7021/0.7021, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.12 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.148, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.586/0.734, allocations: 193.8 MB / 0.8209 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009306/0.7434, allocations: 5.146 MB / 0.8259 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.7456, allocations: 48.06 kB / 0.826 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.748, allocations: 0.8102 MB / 0.8267 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.7559, allocations: 2.599 MB / 0.8293 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.759, allocations: 1.11 MB / 0.8304 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003723/0.7628, allocations: 2.608 MB / 0.8329 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.7645, allocations: 0.8963 MB / 0.8338 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.7669, allocations: 1.107 MB / 0.8349 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.7686, allocations: 0.9495 MB / 0.8358 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.7689, allocations: 81.78 kB / 0.8359 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.7729, allocations: 1.779 MB / 0.8376 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.7736, allocations: 433.9 kB / 0.838 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.7751, allocations: 0.6519 MB / 0.8387 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.7802, allocations: 2.145 MB / 0.8408 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7803, allocations: 3.938 kB / 0.8408 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.218e-06/0.7803, allocations: 0 / 0.8408 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.736e-05/0.7804, allocations: 3.938 kB / 0.8408 GB, free: 15.02 MB / 0.6075 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.006597/0.787, allocations: 1.932 MB / 0.8426 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.787, allocations: 10.31 kB / 0.8427 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003051/0.7873, allocations: 142 kB / 0.8428 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.7913, allocations: 0.6531 MB / 0.8434 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.7932, allocations: 0.9441 MB / 0.8444 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.7933, allocations: 68.19 kB / 0.8444 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.7935, allocations: 87.56 kB / 0.8445 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.7966, allocations: 1.47 MB / 0.8459 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.7967, allocations: 7.938 kB / 0.8459 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7968, allocations: 37.12 kB / 0.846 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.7969, allocations: 47.95 kB / 0.846 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/0.8007, allocations: 1.52 MB / 0.8475 GB, free: 10.23 MB / 0.6075 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.007718/0.8085, allocations: 5.479 MB / 0.8529 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.812, allocations: 1.283 MB / 0.8541 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.8136, allocations: 0.6564 MB / 0.8548 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008432/0.8144, allocations: 0.5815 MB / 0.8553 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.8162, allocations: 0.7103 MB / 0.856 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.025e-06/0.8162, allocations: 4 kB / 0.856 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005349/0.8216, allocations: 1.881 MB / 0.8579 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.8216, allocations: 60.06 kB / 0.8579 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.8234, allocations: 1.239 MB / 0.8591 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.8235, allocations: 41.7 kB / 0.8592 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.824, allocations: 0.5818 MB / 0.8597 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.8242, allocations: 272.3 kB / 0.86 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.8246, allocations: 182.5 kB / 0.8602 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8247, allocations: 349.9 kB / 0.8605 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.8262, allocations: 0.5367 MB / 0.861 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.8279, allocations: 0.8158 MB / 0.8618 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.831, allocations: 1.327 MB / 0.8631 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.831, allocations: 0 / 0.8631 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00379/0.8348, allocations: 1.499 MB / 0.8646 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.8348, allocations: 8 kB / 0.8646 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.8348, allocations: 11.98 kB / 0.8646 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.8349, allocations: 16.03 kB / 0.8646 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.8362, allocations: 291.5 kB / 0.8649 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.8363, allocations: 15.94 kB / 0.8649 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.8377, allocations: 198.7 kB / 0.8651 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.8378, allocations: 52.06 kB / 0.8651 GB, free: 7.551 MB / 0.6231 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 ($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 (117): * Single equations (assignments): 117 * 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.0005752/0.8384, allocations: 351.2 kB / 0.8655 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.8387, allocations: 138.3 kB / 0.8656 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.8423, allocations: 1.405 MB / 0.867 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.8423, allocations: 8 kB / 0.867 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8423, allocations: 0 / 0.867 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.8424, allocations: 3.984 kB / 0.867 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/0.8481, allocations: 2.799 MB / 0.8697 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.8481, allocations: 4 kB / 0.8697 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.8493, allocations: 223.9 kB / 0.8699 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.8493, allocations: 8 kB / 0.87 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.8494, allocations: 27.98 kB / 0.87 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/0.8494, allocations: 15.92 kB / 0.87 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8494, allocations: 8 kB / 0.87 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.8546, allocations: 2.241 MB / 0.8722 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.8552, allocations: 291.2 kB / 0.8725 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.8555, allocations: 27.98 kB / 0.8725 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8568, allocations: 111.9 kB / 0.8726 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.8569, allocations: 68.36 kB / 0.8727 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.857, allocations: 35.97 kB / 0.8727 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001226/0.8582, allocations: 0.8483 MB / 0.8735 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.953e-06/0.8582, allocations: 0 / 0.8735 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001196/0.8594, allocations: 327.5 kB / 0.8738 GB, free: 14.48 MB / 0.6387 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 (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.006655/0.8661, allocations: 3.23 MB / 0.877 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.8697, allocations: 1.285 MB / 0.8783 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8697, allocations: 0 / 0.8783 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.8713, allocations: 0.6476 MB / 0.8789 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.8741, allocations: 0.5901 MB / 0.8795 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/0.8939, allocations: 10.94 MB / 0.8901 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.8947, allocations: 1.175 MB / 0.8913 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001197/0.8959, allocations: 345.9 kB / 0.8916 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/0.8966, allocations: 0.4914 MB / 0.8921 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.8967, allocations: 0 / 0.8921 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/0.963, allocations: 34.46 MB / 0.9257 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.717/10.68, allocations: 12.73 kB / 0.9258 GB, free: 9.367 MB / 0.6856 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/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)