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.001209/0.001209, allocations: 107.8 kB / 16.41 MB, free: 6.48 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.001247/0.001247, allocations: 193.8 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7658/0.7658, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 67.56 kB / 0.568 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5866/0.7347, allocations: 193.8 MB / 0.8334 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009984/0.7448, allocations: 5.14 MB / 0.8384 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.7468, allocations: 47.28 kB / 0.8384 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.7495, allocations: 0.8176 MB / 0.8392 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007085/0.7566, allocations: 2.591 MB / 0.8418 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.7599, allocations: 1.107 MB / 0.8428 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.7641, allocations: 2.605 MB / 0.8454 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.7659, allocations: 0.8894 MB / 0.8462 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.7684, allocations: 1.087 MB / 0.8473 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.7703, allocations: 0.9566 MB / 0.8482 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.7707, allocations: 83.94 kB / 0.8483 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.7746, allocations: 1.779 MB / 0.8501 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.7753, allocations: 443.4 kB / 0.8505 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.7765, allocations: 0.6512 MB / 0.8511 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.7809, allocations: 2.158 MB / 0.8532 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.781, allocations: 0 / 0.8532 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.781, allocations: 1.781 kB / 0.8532 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.365e-05/0.781, allocations: 0 / 0.8532 GB, free: 5.785 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.005959/0.787, allocations: 1.935 MB / 0.8551 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.7871, allocations: 12.56 kB / 0.8551 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.7873, allocations: 139.5 kB / 0.8553 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.7922, allocations: 0.7035 MB / 0.8559 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.7944, allocations: 0.9527 MB / 0.8569 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.7945, allocations: 69.98 kB / 0.8569 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.7948, allocations: 88 kB / 0.857 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.7987, allocations: 1.469 MB / 0.8585 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.7987, allocations: 0 / 0.8585 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.7989, allocations: 32 kB / 0.8585 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-05/0.799, allocations: 53.92 kB / 0.8585 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.8041, allocations: 1.553 MB / 0.8601 GB, free: 14.84 MB / 0.6231 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.00937/0.8135, allocations: 5.018 MB / 0.865 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.8175, allocations: 1.197 MB / 0.8661 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.8196, allocations: 0.6632 MB / 0.8668 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.821, allocations: 0.9449 MB / 0.8677 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/0.8233, allocations: 0.7263 MB / 0.8684 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.917e-06/0.8233, allocations: 0 / 0.8684 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006913/0.8302, allocations: 1.952 MB / 0.8703 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.8303, allocations: 64.06 kB / 0.8704 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.8321, allocations: 1.263 MB / 0.8716 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.8323, allocations: 41.7 kB / 0.8717 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.8328, allocations: 0.5755 MB / 0.8722 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.8332, allocations: 280 kB / 0.8725 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.8336, allocations: 178.5 kB / 0.8727 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8337, allocations: 345.9 kB / 0.873 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.8355, allocations: 0.5562 MB / 0.8735 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.8376, allocations: 0.8208 MB / 0.8743 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.8413, allocations: 1.34 MB / 0.8756 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.8414, allocations: 96 / 0.8756 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004509/0.8459, allocations: 1.519 MB / 0.8771 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.8459, allocations: 8 kB / 0.8771 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.846, allocations: 8 kB / 0.8771 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.846, allocations: 12 kB / 0.8771 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.8476, allocations: 299.8 kB / 0.8774 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.8477, allocations: 15.94 kB / 0.8774 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.8493, allocations: 194.7 kB / 0.8776 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.8495, allocations: 55.91 kB / 0.8777 GB, free: 12.06 MB / 0.6387 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.0006675/0.8501, allocations: 344.5 kB / 0.878 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.8505, allocations: 134.3 kB / 0.8781 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.8549, allocations: 1.436 MB / 0.8795 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.8549, allocations: 8 kB / 0.8796 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8549, allocations: 0 / 0.8796 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.855, allocations: 3.984 kB / 0.8796 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/0.8619, allocations: 2.87 MB / 0.8824 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.862, allocations: 4 kB / 0.8824 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.8634, allocations: 220.2 kB / 0.8826 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.8635, allocations: 8 kB / 0.8826 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.8636, allocations: 31.97 kB / 0.8826 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.8636, allocations: 13.06 kB / 0.8826 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8637, allocations: 4 kB / 0.8826 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/0.8701, allocations: 2.31 MB / 0.8849 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/0.8709, allocations: 303.2 kB / 0.8852 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.8712, allocations: 20 kB / 0.8852 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.8726, allocations: 115.8 kB / 0.8853 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.8729, allocations: 64.42 kB / 0.8854 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.873, allocations: 31.98 kB / 0.8854 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001262/0.8743, allocations: 0.8761 MB / 0.8862 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8743, allocations: 0 / 0.8862 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001366/0.8757, allocations: 319.7 kB / 0.8866 GB, free: 2.75 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.008037/0.8837, allocations: 3.295 MB / 0.8898 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004209/0.888, allocations: 1.308 MB / 0.891 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.888, allocations: 4 kB / 0.8911 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.8902, allocations: 0.6638 MB / 0.8917 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.8938, allocations: 0.6218 MB / 0.8923 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/0.9184, allocations: 11.11 MB / 0.9032 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009679/0.9194, allocations: 1.175 MB / 0.9043 GB, free: 256 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001563/0.921, allocations: 350.2 kB / 0.9046 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.9222, allocations: 495.2 kB / 0.9051 GB, free: 15.42 MB / 0.67 GB Notification: Performance of SimCode: time 1.523e-06/0.9222, allocations: 3.938 kB / 0.9051 GB, free: 15.42 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/0.993, allocations: 34.99 MB / 0.9393 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.7, allocations: 8 kB / 0.9393 GB, free: 12.77 MB / 0.7012 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)