Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 184.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008533/0.0008533, allocations: 99.77 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.263e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.408/5.669, allocations: 2.157 GB / 3.364 GB, free: 200 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/5.669, allocations: 83.95 kB / 3.364 GB, free: 199.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.882/7.551, allocations: 0.5968 GB / 3.96 GB, free: 44.73 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.142e-06/7.551, allocations: 0 / 3.96 GB, free: 44.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001022/7.551, allocations: 35.98 kB / 3.96 GB, free: 44.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002691/7.554, allocations: 1.349 MB / 3.962 GB, free: 43.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/7.554, allocations: 8.031 kB / 3.962 GB, free: 43.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/7.557, allocations: 0.572 MB / 3.962 GB, free: 42.72 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/7.559, allocations: 0.9182 MB / 3.963 GB, free: 41.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/7.559, allocations: 24 kB / 3.963 GB, free: 41.72 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/7.559, allocations: 51.89 kB / 3.963 GB, free: 41.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009712/7.56, allocations: 0.5584 MB / 3.964 GB, free: 41.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/7.561, allocations: 0.8223 MB / 3.965 GB, free: 40.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/7.561, allocations: 4 kB / 3.965 GB, free: 40.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/7.562, allocations: 8 kB / 3.965 GB, free: 40.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/7.562, allocations: 33.3 kB / 3.965 GB, free: 40.16 MB / 1.151 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.004737/7.566, allocations: 4.811 MB / 3.969 GB, free: 35.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/7.567, allocations: 0.5553 MB / 3.97 GB, free: 34.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/7.568, allocations: 290.4 kB / 3.97 GB, free: 34.22 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/7.569, allocations: 1.591 MB / 3.972 GB, free: 32.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/7.569, allocations: 385.8 kB / 3.972 GB, free: 31.89 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.006e-06/7.569, allocations: 0 / 3.972 GB, free: 31.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.00154/7.571, allocations: 0.728 MB / 3.973 GB, free: 31.15 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/7.571, allocations: 55.97 kB / 3.973 GB, free: 31.09 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/7.572, allocations: 0.8344 MB / 3.974 GB, free: 30.23 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/7.572, allocations: 29.69 kB / 3.974 GB, free: 30.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/7.572, allocations: 0.5578 MB / 3.974 GB, free: 29.63 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/7.572, allocations: 201.2 kB / 3.975 GB, free: 29.43 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/7.572, allocations: 0 / 3.975 GB, free: 29.43 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/7.572, allocations: 334 kB / 3.975 GB, free: 29.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/7.573, allocations: 250.6 kB / 3.975 GB, free: 28.86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/7.573, allocations: 0.5389 MB / 3.976 GB, free: 28.19 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/7.574, allocations: 349.8 kB / 3.976 GB, free: 27.84 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/7.574, allocations: 0 / 3.976 GB, free: 27.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001438/7.575, allocations: 0.876 MB / 3.977 GB, free: 26.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/7.575, allocations: 8 kB / 3.977 GB, free: 26.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/7.576, allocations: 8.906 kB / 3.977 GB, free: 26.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/7.576, allocations: 12 kB / 3.977 GB, free: 26.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/7.577, allocations: 279.6 kB / 3.977 GB, free: 26.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/7.577, allocations: 19.92 kB / 3.977 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/7.578, allocations: 175.1 kB / 3.977 GB, free: 26.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/7.578, allocations: 55.92 kB / 3.977 GB, free: 26.41 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0001668/7.578, allocations: 139 kB / 3.977 GB, free: 26.27 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001241/7.579, allocations: 0.7164 MB / 3.978 GB, free: 25.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/7.579, allocations: 114.5 kB / 3.978 GB, free: 25.43 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/7.581, allocations: 1.022 MB / 3.979 GB, free: 24.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/7.581, allocations: 11.98 kB / 3.979 GB, free: 24.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/7.581, allocations: 3.953 kB / 3.979 GB, free: 24.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/7.581, allocations: 3.984 kB / 3.979 GB, free: 24.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/7.584, allocations: 1.994 MB / 3.981 GB, free: 22.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/7.584, allocations: 0 / 3.981 GB, free: 22.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/7.585, allocations: 207.7 kB / 3.981 GB, free: 22.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/7.585, allocations: 4 kB / 3.981 GB, free: 22.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/7.585, allocations: 23.91 kB / 3.981 GB, free: 22.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/7.585, allocations: 7.984 kB / 3.981 GB, free: 22.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/7.585, allocations: 4 kB / 3.981 GB, free: 22.09 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/7.587, allocations: 1.521 MB / 3.983 GB, free: 20.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/7.588, allocations: 299.4 kB / 3.983 GB, free: 20.19 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/7.588, allocations: 11.98 kB / 3.983 GB, free: 20.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/7.589, allocations: 119.8 kB / 3.983 GB, free: 20.06 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/7.589, allocations: 56.5 kB / 3.983 GB, free: 20 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/7.589, allocations: 31.97 kB / 3.983 GB, free: 19.97 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000662/7.59, allocations: 0.6319 MB / 3.984 GB, free: 19.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.59, allocations: 0 / 3.984 GB, free: 19.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001234/7.591, allocations: 371.5 kB / 3.984 GB, free: 18.97 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.003661/7.595, allocations: 3.118 MB / 3.987 GB, free: 15.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001125/7.596, allocations: 0.7225 MB / 3.988 GB, free: 15.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/7.596, allocations: 0 / 3.988 GB, free: 15.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/7.596, allocations: 414.1 kB / 3.989 GB, free: 14.75 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/7.598, allocations: 333.2 kB / 3.989 GB, free: 14.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/7.602, allocations: 2.005 MB / 3.991 GB, free: 12.37 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/7.602, allocations: 1.148 MB / 3.992 GB, free: 11.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009454/7.603, allocations: 239.6 kB / 3.992 GB, free: 10.96 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/7.604, allocations: 459.2 kB / 3.993 GB, free: 10.51 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/7.604, allocations: 0 / 3.993 GB, free: 10.51 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7897/8.394, allocations: 27.01 MB / 4.019 GB, free: 292.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/8.394, allocations: 178.1 kB / 4.019 GB, free: 292.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/11.27, allocations: 0 / 4.019 GB, free: 292.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat