Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.0008697/0.0008694, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001064/0.001064, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.58/2.58, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7227, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02621/0.7489, allocations: 26.92 MB / 1.007 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00982/0.7588, allocations: 6.485 MB / 1.014 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.7601, allocations: 43.62 kB / 1.014 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.7615, allocations: 0.548 MB / 1.014 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.7645, allocations: 1.19 MB / 1.015 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.7669, allocations: 0.936 MB / 1.016 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003119/0.7701, allocations: 2.761 MB / 1.019 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.7711, allocations: 0.6429 MB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.7727, allocations: 0.8984 MB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009607/0.7737, allocations: 0.7547 MB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.7738, allocations: 39.94 kB / 1.021 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.7751, allocations: 498.9 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.7754, allocations: 243 kB / 1.022 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.7756, allocations: 229 kB / 1.022 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.7768, allocations: 1.023 MB / 1.023 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7768, allocations: 0 / 1.023 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7768, allocations: 0 / 1.023 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.7768, allocations: 0 / 1.023 GB, free: 10.94 MB / 0.7794 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.002289/0.7791, allocations: 1.372 MB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7792, allocations: 16.03 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.7793, allocations: 114.4 kB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.7824, allocations: 0.6344 MB / 1.025 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.7836, allocations: 0.7546 MB / 1.026 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.7837, allocations: 57.98 kB / 1.026 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.7838, allocations: 75.91 kB / 1.026 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.786, allocations: 1.111 MB / 1.027 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.7861, allocations: 3.984 kB / 1.027 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.7862, allocations: 32 kB / 1.027 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.7862, allocations: 20 kB / 1.027 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.7889, allocations: 1.02 MB / 1.028 GB, free: 5.535 MB / 0.7794 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.005242/0.7942, allocations: 4.967 MB / 1.033 GB, free: 284 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.7968, allocations: 0.9505 MB / 1.034 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.7982, allocations: 0.4906 MB / 1.035 GB, free: 14.83 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.7995, allocations: 1.599 MB / 1.036 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/0.801, allocations: 0.5846 MB / 1.037 GB, free: 12.28 MB / 0.795 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/0.801, allocations: 0 / 1.037 GB, free: 12.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=61): time 0.0043/0.8053, allocations: 1.512 MB / 1.038 GB, free: 10.76 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.8054, allocations: 59.97 kB / 1.038 GB, free: 10.69 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.8069, allocations: 1.108 MB / 1.039 GB, free: 9.57 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.807, allocations: 41.64 kB / 1.039 GB, free: 9.523 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.8075, allocations: 0.5473 MB / 1.04 GB, free: 8.969 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.8077, allocations: 209.1 kB / 1.04 GB, free: 8.762 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.8078, allocations: 20 kB / 1.04 GB, free: 8.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8079, allocations: 337.9 kB / 1.041 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.8093, allocations: 461.6 kB / 1.041 GB, free: 7.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.8108, allocations: 0.7203 MB / 1.042 GB, free: 7.121 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.8122, allocations: 0.49 MB / 1.042 GB, free: 6.629 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.8122, allocations: 0 / 1.042 GB, free: 6.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00335/0.8156, allocations: 1.29 MB / 1.043 GB, free: 5.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.8156, allocations: 12 kB / 1.043 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.8157, allocations: 4 kB / 1.043 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.8157, allocations: 16.09 kB / 1.043 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.8169, allocations: 279.9 kB / 1.044 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.8169, allocations: 12 kB / 1.044 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8181, allocations: 210.9 kB / 1.044 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.8183, allocations: 39.98 kB / 1.044 GB, free: 4.766 MB / 0.795 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 () * Number of clocked 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.0004637/0.8187, allocations: 299.7 kB / 1.044 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.819, allocations: 118.5 kB / 1.044 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.8226, allocations: 1.394 MB / 1.046 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.8226, allocations: 8 kB / 1.046 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8226, allocations: 0 / 1.046 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8227, allocations: 3.984 kB / 1.046 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/0.8275, allocations: 2.386 MB / 1.048 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.8275, allocations: 4.188 kB / 1.048 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.8285, allocations: 199.7 kB / 1.048 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/0.8285, allocations: 7.953 kB / 1.048 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.8286, allocations: 23.97 kB / 1.048 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.8286, allocations: 7.938 kB / 1.048 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8286, allocations: 4 kB / 1.048 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/0.8333, allocations: 2.004 MB / 1.05 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.8337, allocations: 287.3 kB / 1.051 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.834, allocations: 23.94 kB / 1.051 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.835, allocations: 127.9 kB / 1.051 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8351, allocations: 48.48 kB / 1.051 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.8352, allocations: 35.97 kB / 1.051 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009746/0.8362, allocations: 0.7521 MB / 1.051 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8362, allocations: 4 kB / 1.051 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00112/0.8373, allocations: 343.6 kB / 1.052 GB, free: 12.56 MB / 0.8106 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * 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.006378/0.8437, allocations: 3.099 MB / 1.055 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003069/0.8468, allocations: 1.126 MB / 1.056 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8468, allocations: 0 / 1.056 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.8483, allocations: 0.5853 MB / 1.057 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.8505, allocations: 426.5 kB / 1.057 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.8652, allocations: 7.638 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.8659, allocations: 1.108 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001156/0.8671, allocations: 240.6 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.8677, allocations: 463.2 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 5.92e-07/0.8678, allocations: 4 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/0.9218, allocations: 29.11 MB / 1.095 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/0.9221, allocations: 244.3 kB / 1.095 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.498, allocations: 0 / 1.095 GB, free: 0.6719 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat