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.001477/0.001477, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001627/0.001627, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.416/1.416, 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.7975/0.7975, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 62.69 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1859, allocations: 76.19 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6735/0.8594, allocations: 193.8 MB / 0.8209 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.8701, allocations: 5.145 MB / 0.8259 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.8728, allocations: 47.38 kB / 0.8259 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.8755, allocations: 0.8096 MB / 0.8267 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008002/0.8835, allocations: 2.598 MB / 0.8293 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.8869, allocations: 1.116 MB / 0.8304 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004344/0.8912, allocations: 2.612 MB / 0.8329 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.8932, allocations: 0.8947 MB / 0.8338 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.8961, allocations: 1.105 MB / 0.8349 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.898, allocations: 0.9474 MB / 0.8358 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.8984, allocations: 80.44 kB / 0.8359 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.903, allocations: 1.784 MB / 0.8376 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000961/0.904, allocations: 437 kB / 0.838 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.9056, allocations: 0.642 MB / 0.8387 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005999/0.9116, allocations: 2.149 MB / 0.8408 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.9116, allocations: 0 / 0.8408 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9117, allocations: 0 / 0.8408 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.153e-05/0.9117, allocations: 0 / 0.8408 GB, free: 15.04 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.005791/0.9175, allocations: 1.939 MB / 0.8426 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.9176, allocations: 10.03 kB / 0.8427 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.9178, allocations: 133.8 kB / 0.8428 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.9218, allocations: 0.6613 MB / 0.8434 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.924, allocations: 0.946 MB / 0.8444 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.924, allocations: 67.17 kB / 0.8444 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.9242, allocations: 91.94 kB / 0.8445 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.9279, allocations: 1.476 MB / 0.8459 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.9279, allocations: 0 / 0.8459 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.928, allocations: 34.16 kB / 0.846 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.616e-05/0.9281, allocations: 51.86 kB / 0.846 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.9325, allocations: 1.517 MB / 0.8475 GB, free: 10.25 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.00918/0.9417, allocations: 5.486 MB / 0.8529 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.9458, allocations: 1.278 MB / 0.8541 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.9476, allocations: 0.6541 MB / 0.8548 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009748/0.9486, allocations: 0.5805 MB / 0.8553 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.9508, allocations: 0.7185 MB / 0.856 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 4.619e-06/0.9508, allocations: 0 / 0.856 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00637/0.9572, allocations: 1.884 MB / 0.8579 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.9573, allocations: 60.06 kB / 0.8579 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.9592, allocations: 1.239 MB / 0.8591 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.9593, allocations: 41.7 kB / 0.8592 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.9599, allocations: 0.5753 MB / 0.8597 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.9602, allocations: 275.8 kB / 0.86 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.9606, allocations: 186.5 kB / 0.8602 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9607, allocations: 337.9 kB / 0.8605 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.9625, allocations: 0.5393 MB / 0.861 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.9644, allocations: 0.8213 MB / 0.8618 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.968, allocations: 1.323 MB / 0.8631 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.9681, allocations: 4 kB / 0.8631 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004445/0.9725, allocations: 1.495 MB / 0.8646 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.9726, allocations: 13.75 kB / 0.8646 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.9726, allocations: 11.98 kB / 0.8646 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.905e-05/0.9727, allocations: 12.09 kB / 0.8646 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.9742, allocations: 295.5 kB / 0.8649 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/0.9742, allocations: 15.94 kB / 0.8649 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.9759, allocations: 202.3 kB / 0.8651 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.9761, allocations: 51.97 kB / 0.8652 GB, free: 7.566 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.00074/0.9768, allocations: 335.7 kB / 0.8655 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/0.9773, allocations: 138.3 kB / 0.8656 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004427/0.9818, allocations: 1.413 MB / 0.867 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.9818, allocations: 8 kB / 0.867 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.9818, allocations: 0 / 0.867 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.9819, allocations: 3.984 kB / 0.867 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/0.9889, allocations: 2.802 MB / 0.8697 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.989, allocations: 4 kB / 0.8697 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.9903, allocations: 227.1 kB / 0.87 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.236e-05/0.9904, allocations: 12 kB / 0.87 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.9905, allocations: 31.97 kB / 0.87 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.9905, allocations: 7.938 kB / 0.87 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9906, allocations: 4 kB / 0.87 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00654/0.9971, allocations: 2.242 MB / 0.8722 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009406/0.9981, allocations: 295.2 kB / 0.8725 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.9985, allocations: 23.98 kB / 0.8725 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1, allocations: 107.9 kB / 0.8726 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/1, allocations: 72.36 kB / 0.8727 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1, allocations: 35.97 kB / 0.8727 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001305/1.002, allocations: 0.8483 MB / 0.8735 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/1.002, allocations: 0 / 0.8735 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001459/1.003, allocations: 323.6 kB / 0.8738 GB, free: 14.5 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.007894/1.011, allocations: 3.231 MB / 0.877 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00396/1.015, allocations: 1.279 MB / 0.8782 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.015, allocations: 8.062 kB / 0.8783 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.017, allocations: 0.6434 MB / 0.8789 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.02, allocations: 0.5956 MB / 0.8795 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.042, allocations: 10.93 MB / 0.8901 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009531/1.043, allocations: 1.171 MB / 0.8913 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001391/1.045, allocations: 353.9 kB / 0.8916 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.045, allocations: 0.4953 MB / 0.8921 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.123e-06/1.045, allocations: 0 / 0.8921 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/1.123, allocations: 34.46 MB / 0.9257 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.15, allocations: 5.625 kB / 0.9258 GB, free: 9.391 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)