Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7162/0.7162, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009754, allocations: 183.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.3 MB / 441.4 MB, free: 4.629 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 94 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 277.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.599e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3809, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.565/3.946, allocations: 1.834 GB / 2.599 GB, free: 214.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/3.946, allocations: 83.95 kB / 2.599 GB, free: 214 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.16/7.106, allocations: 1.019 GB / 3.618 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.71e-07/7.106, allocations: 0 / 3.618 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.822e-05/7.106, allocations: 45.64 kB / 3.618 GB, free: 131.8 MB / 0.7136 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.005516/7.112, allocations: 1.848 MB / 3.62 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/7.112, allocations: 8.781 kB / 3.62 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/7.112, allocations: 136.5 kB / 3.62 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/7.116, allocations: 0.6886 MB / 3.621 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/7.118, allocations: 1.084 MB / 3.622 GB, free: 131 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/7.118, allocations: 65.12 kB / 3.622 GB, free: 131 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/7.118, allocations: 84.97 kB / 3.622 GB, free: 131 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/7.12, allocations: 1.259 MB / 3.623 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/7.12, allocations: 0.5625 kB / 3.623 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/7.12, allocations: 41.25 kB / 3.623 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/7.12, allocations: 37.83 kB / 3.623 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/7.121, allocations: 0.9988 MB / 3.624 GB, free: 130.7 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.006137/7.128, allocations: 5.799 MB / 3.63 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/7.129, allocations: 0.9297 MB / 3.631 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/7.129, allocations: 0.4948 MB / 3.631 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/7.13, allocations: 0.5834 MB / 3.632 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000745/7.131, allocations: 0.5984 MB / 3.633 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 2.514e-06/7.131, allocations: 0 / 3.633 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.001899/7.133, allocations: 1.096 MB / 3.634 GB, free: 127 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/7.133, allocations: 60 kB / 3.634 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/7.134, allocations: 1.089 MB / 3.635 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/7.134, allocations: 51.66 kB / 3.635 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/7.134, allocations: 0.5965 MB / 3.635 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/7.134, allocations: 277.7 kB / 3.636 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/7.135, allocations: 19.34 kB / 3.636 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/7.135, allocations: 340.7 kB / 3.636 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/7.135, allocations: 421 kB / 3.636 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/7.136, allocations: 0.7489 MB / 3.637 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/7.137, allocations: 477.8 kB / 3.638 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/7.137, allocations: 0 / 3.638 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001648/7.138, allocations: 1.251 MB / 3.639 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/7.138, allocations: 7.031 kB / 3.639 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/7.138, allocations: 7.25 kB / 3.639 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/7.138, allocations: 14.56 kB / 3.639 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/7.14, allocations: 314.3 kB / 3.639 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/7.14, allocations: 20.17 kB / 3.639 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/7.141, allocations: 236.8 kB / 3.639 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/7.141, allocations: 61.81 kB / 3.639 GB, free: 125.6 MB / 0.7136 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/7.141, allocations: 172.9 kB / 3.64 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/7.141, allocations: 137.8 kB / 3.64 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/7.143, allocations: 1.221 MB / 3.641 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/7.143, allocations: 10.97 kB / 3.641 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/7.143, allocations: 0 / 3.641 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/7.143, allocations: 3.75 kB / 3.641 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/7.147, allocations: 2.738 MB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/7.147, allocations: 3.406 kB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/7.148, allocations: 252.8 kB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/7.148, allocations: 7.875 kB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/7.148, allocations: 42.73 kB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/7.148, allocations: 11.06 kB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/7.148, allocations: 3.656 kB / 3.644 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/7.15, allocations: 2.172 MB / 3.646 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/7.151, allocations: 346.7 kB / 3.646 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/7.151, allocations: 26.19 kB / 3.646 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/7.152, allocations: 144.1 kB / 3.647 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/7.152, allocations: 66.3 kB / 3.647 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/7.152, allocations: 42.67 kB / 3.647 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007933/7.153, allocations: 0.8455 MB / 3.648 GB, free: 124 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/7.153, allocations: 0 / 3.648 GB, free: 124 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001296/7.154, allocations: 0.5015 MB / 3.648 GB, free: 124 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005087/7.159, allocations: 5.672 MB / 3.654 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00145/7.161, allocations: 1.046 MB / 3.655 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/7.161, allocations: 0 / 3.655 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006832/7.161, allocations: 0.5357 MB / 3.655 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/7.164, allocations: 0.5727 MB / 3.656 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/7.177, allocations: 3.066 MB / 3.659 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/7.177, allocations: 1.21 MB / 3.66 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001423/7.179, allocations: 383.3 kB / 3.66 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/7.179, allocations: 0.5035 MB / 3.661 GB, free: 119.9 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/7.179, allocations: 3.844 kB / 3.661 GB, free: 119.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/7.257, allocations: 64.09 MB / 3.723 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/7.257, allocations: 232.7 kB / 3.723 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/10.93, allocations: 4 kB / 3.723 GB, free: 117.7 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)