Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001546/0.001546, allocations: 103.5 kB / 16.4 MB, free: 6.5 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.001672/0.001672, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.58 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 76.17 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5653/0.7085, allocations: 193.8 MB / 0.8209 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00871/0.7172, allocations: 5.141 MB / 0.8259 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.7186, allocations: 51.06 kB / 0.826 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.7205, allocations: 0.8081 MB / 0.8267 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.7269, allocations: 2.598 MB / 0.8293 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.7298, allocations: 1.112 MB / 0.8304 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.7331, allocations: 2.597 MB / 0.8329 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.7347, allocations: 0.8954 MB / 0.8338 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.7371, allocations: 1.105 MB / 0.8349 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.7391, allocations: 0.9597 MB / 0.8358 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003666/0.7394, allocations: 80.41 kB / 0.8359 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.7433, allocations: 1.782 MB / 0.8376 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/0.744, allocations: 442.8 kB / 0.838 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.7453, allocations: 0.6463 MB / 0.8387 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004232/0.7496, allocations: 2.166 MB / 0.8408 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7496, allocations: 0 / 0.8408 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7496, allocations: 0 / 0.8408 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.111e-05/0.7497, allocations: 4 kB / 0.8408 GB, free: 15.14 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.005609/0.7553, allocations: 1.934 MB / 0.8427 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7553, allocations: 7.531 kB / 0.8427 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/0.7556, allocations: 136.1 kB / 0.8428 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.7598, allocations: 0.6995 MB / 0.8435 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.7616, allocations: 0.9602 MB / 0.8444 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.7617, allocations: 65.58 kB / 0.8445 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.7619, allocations: 86 kB / 0.8446 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.765, allocations: 1.466 MB / 0.846 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.7651, allocations: 7.922 kB / 0.846 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.7652, allocations: 40.92 kB / 0.8461 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.7653, allocations: 51.86 kB / 0.8461 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.7691, allocations: 1.555 MB / 0.8476 GB, free: 10.35 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.006761/0.7759, allocations: 5.019 MB / 0.8525 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.7791, allocations: 1.188 MB / 0.8537 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.7807, allocations: 0.6707 MB / 0.8543 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.7819, allocations: 0.9395 MB / 0.8553 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.7837, allocations: 0.7263 MB / 0.856 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.7837, allocations: 0 / 0.856 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.00563/0.7893, allocations: 1.958 MB / 0.8579 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.7894, allocations: 64 kB / 0.8579 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.7914, allocations: 1.264 MB / 0.8592 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.917e-05/0.7915, allocations: 41.7 kB / 0.8592 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.7919, allocations: 0.5716 MB / 0.8598 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.7922, allocations: 279.7 kB / 0.86 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.7925, allocations: 186.5 kB / 0.8602 GB, free: 13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7927, allocations: 341.9 kB / 0.8605 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.7942, allocations: 0.5553 MB / 0.8611 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.7959, allocations: 0.8207 MB / 0.8619 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003112/0.799, allocations: 1.346 MB / 0.8632 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7991, allocations: 0 / 0.8632 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003767/0.8028, allocations: 1.512 MB / 0.8647 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.8029, allocations: 8 kB / 0.8647 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.8029, allocations: 11.98 kB / 0.8647 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.8029, allocations: 12.75 kB / 0.8647 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.8043, allocations: 295.5 kB / 0.865 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/0.8044, allocations: 12 kB / 0.865 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8058, allocations: 198.7 kB / 0.8652 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.8059, allocations: 55.91 kB / 0.8652 GB, free: 7.652 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005559/0.8064, allocations: 335.7 kB / 0.8656 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.8067, allocations: 138.3 kB / 0.8657 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.8105, allocations: 1.45 MB / 0.8671 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.8105, allocations: 8 kB / 0.8671 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8105, allocations: 3.984 kB / 0.8671 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8105, allocations: 3.984 kB / 0.8671 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005699/0.8162, allocations: 2.858 MB / 0.8699 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.8163, allocations: 8.094 kB / 0.8699 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8175, allocations: 218.8 kB / 0.8701 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.8175, allocations: 8 kB / 0.8701 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/0.8176, allocations: 32.72 kB / 0.8702 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/0.8176, allocations: 11.98 kB / 0.8702 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.8176, allocations: 10.05 kB / 0.8702 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/0.823, allocations: 2.301 MB / 0.8724 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.8237, allocations: 299.3 kB / 0.8727 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.824, allocations: 24.67 kB / 0.8727 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.8252, allocations: 107.9 kB / 0.8729 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.8253, allocations: 68.36 kB / 0.8729 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.8254, allocations: 35.97 kB / 0.8729 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001087/0.8265, allocations: 0.8762 MB / 0.8738 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8265, allocations: 0 / 0.8738 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001055/0.8276, allocations: 319.6 kB / 0.8741 GB, free: 14.38 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.00661/0.8342, allocations: 3.306 MB / 0.8773 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.8376, allocations: 1.311 MB / 0.8786 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8376, allocations: 0 / 0.8786 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.8393, allocations: 0.6599 MB / 0.8793 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.8419, allocations: 0.6213 MB / 0.8799 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.8612, allocations: 11.11 MB / 0.8907 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.862, allocations: 1.171 MB / 0.8919 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00122/0.8632, allocations: 350.2 kB / 0.8922 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007516/0.864, allocations: 499.2 kB / 0.8927 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.864, allocations: 0 / 0.8927 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/0.9294, allocations: 35.57 MB / 0.9274 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/10.78, allocations: 2.391 kB / 0.9274 GB, free: 7.879 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)