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.001188/0.001188, allocations: 110 kB / 16.41 MB, free: 6.484 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.001182/0.001182, allocations: 193.2 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.341/1.341, 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.7704/0.7704, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.58 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 77.92 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.519/0.6401, allocations: 193.8 MB / 0.8334 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009829/0.65, allocations: 5.136 MB / 0.8384 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.6521, allocations: 44.69 kB / 0.8384 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.6545, allocations: 0.8175 MB / 0.8392 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007569/0.6621, allocations: 2.593 MB / 0.8417 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.665, allocations: 1.11 MB / 0.8428 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003338/0.6684, allocations: 2.613 MB / 0.8454 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.6697, allocations: 0.8934 MB / 0.8463 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.6716, allocations: 1.087 MB / 0.8473 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.6727, allocations: 0.9433 MB / 0.8482 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.6729, allocations: 77.84 kB / 0.8483 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.676, allocations: 1.779 MB / 0.8501 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.6765, allocations: 436 kB / 0.8505 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.6772, allocations: 0.6543 MB / 0.8511 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.6804, allocations: 2.148 MB / 0.8532 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6805, allocations: 0 / 0.8532 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6805, allocations: 0 / 0.8532 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.6805, allocations: 0 / 0.8532 GB, free: 5.668 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.005142/0.6856, allocations: 1.928 MB / 0.8551 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6857, allocations: 12.62 kB / 0.8551 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.6859, allocations: 139.4 kB / 0.8552 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.6901, allocations: 0.6576 MB / 0.8559 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.6921, allocations: 0.9449 MB / 0.8568 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.6921, allocations: 73.97 kB / 0.8569 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.6923, allocations: 88.88 kB / 0.857 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.6959, allocations: 1.462 MB / 0.8584 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.6959, allocations: 7.938 kB / 0.8584 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6961, allocations: 39.98 kB / 0.8584 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/0.6961, allocations: 45.98 kB / 0.8585 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/0.7006, allocations: 1.514 MB / 0.8599 GB, free: 14.79 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.008056/0.7087, allocations: 5.49 MB / 0.8653 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.7127, allocations: 1.281 MB / 0.8666 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.7145, allocations: 0.6516 MB / 0.8672 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008929/0.7154, allocations: 0.5812 MB / 0.8678 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.7176, allocations: 0.7187 MB / 0.8685 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.938e-06/0.7176, allocations: 0 / 0.8685 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.007569/0.7252, allocations: 1.874 MB / 0.8703 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.7253, allocations: 64.06 kB / 0.8704 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.7277, allocations: 1.242 MB / 0.8716 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.7279, allocations: 41.7 kB / 0.8716 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.7284, allocations: 0.5792 MB / 0.8722 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.7288, allocations: 276.1 kB / 0.8724 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.7292, allocations: 186.4 kB / 0.8726 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7293, allocations: 345.9 kB / 0.8729 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.7311, allocations: 0.5328 MB / 0.8735 GB, free: 484 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.7332, allocations: 0.8289 MB / 0.8743 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.7369, allocations: 1.328 MB / 0.8756 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.7369, allocations: 0 / 0.8756 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004424/0.7413, allocations: 1.495 MB / 0.877 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.7414, allocations: 8 kB / 0.877 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.7414, allocations: 8 kB / 0.877 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.7414, allocations: 12 kB / 0.8771 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.7431, allocations: 292.2 kB / 0.8773 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.12e-05/0.7431, allocations: 19.92 kB / 0.8774 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.7447, allocations: 198.7 kB / 0.8775 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.7449, allocations: 47.98 kB / 0.8776 GB, free: 12.02 MB / 0.6387 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.0006438/0.7455, allocations: 339.7 kB / 0.8779 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.7459, allocations: 138.2 kB / 0.878 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.7503, allocations: 1.41 MB / 0.8794 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.7503, allocations: 12 kB / 0.8794 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7503, allocations: 96 / 0.8794 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.7504, allocations: 7.922 kB / 0.8794 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006763/0.7571, allocations: 2.795 MB / 0.8822 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7572, allocations: 4 kB / 0.8822 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.7586, allocations: 231.6 kB / 0.8824 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.7586, allocations: 11.94 kB / 0.8824 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.7587, allocations: 27.97 kB / 0.8824 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.7588, allocations: 4.625 kB / 0.8824 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7588, allocations: 8 kB / 0.8824 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.7649, allocations: 2.252 MB / 0.8846 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.7656, allocations: 303.1 kB / 0.8849 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.766, allocations: 16 kB / 0.885 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.7673, allocations: 123.5 kB / 0.8851 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.7675, allocations: 60.38 kB / 0.8851 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.7676, allocations: 39.97 kB / 0.8852 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001186/0.7688, allocations: 0.8522 MB / 0.886 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7688, allocations: 0 / 0.886 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001253/0.7701, allocations: 315.7 kB / 0.8863 GB, free: 2.898 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.007599/0.7777, allocations: 3.225 MB / 0.8894 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004083/0.7818, allocations: 1.294 MB / 0.8907 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7818, allocations: 0 / 0.8907 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.7838, allocations: 0.6326 MB / 0.8913 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/0.7871, allocations: 0.6018 MB / 0.8919 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/0.809, allocations: 10.93 MB / 0.9026 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.8099, allocations: 1.177 MB / 0.9037 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001321/0.8112, allocations: 341.9 kB / 0.9041 GB, free: 368 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/0.812, allocations: 0.4954 MB / 0.9045 GB, free: 15.86 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.812, allocations: 0 / 0.9045 GB, free: 15.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09582/0.9079, allocations: 33.92 MB / 0.9377 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.38, allocations: 14.66 kB / 0.9377 GB, free: 14.28 MB / 0.7012 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)