Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.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.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",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.001028/0.001028, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.001279, allocations: 182 kB / 16.92 MB, free: 6.773 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.477/1.477, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004167, allocations: 8 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02845/0.178, allocations: 22.46 MB / 0.582 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3317/0.5098, allocations: 5.052 MB / 0.5869 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.511, allocations: 23.41 kB / 0.5869 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.512, allocations: 223.9 kB / 0.5871 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.5148, allocations: 0.7322 MB / 0.5879 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.5171, allocations: 0.6923 MB / 0.5885 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.5209, allocations: 2.165 MB / 0.5907 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.5219, allocations: 403.7 kB / 0.591 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5234, allocations: 0.5272 MB / 0.5916 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.5247, allocations: 442 kB / 0.592 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.5248, allocations: 25.34 kB / 0.592 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.5265, allocations: 453.5 kB / 0.5924 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.5267, allocations: 115.7 kB / 0.5925 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.5273, allocations: 307.3 kB / 0.5928 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.5292, allocations: 0.885 MB / 0.5937 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5292, allocations: 4 kB / 0.5937 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.5292, allocations: 1.703 kB / 0.5937 GB, free: 10.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.5292, allocations: 3.938 kB / 0.5937 GB, free: 10.01 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001476/0.5307, allocations: 0.7757 MB / 0.5945 GB, free: 25.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5308, allocations: 8.812 kB / 0.5945 GB, free: 25.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.503e-05/0.5309, allocations: 81.97 kB / 0.5946 GB, free: 25.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.5311, allocations: 67.42 kB / 0.5946 GB, free: 25.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/0.5321, allocations: 0.5534 MB / 0.5952 GB, free: 25.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.5321, allocations: 31.91 kB / 0.5952 GB, free: 25.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.5322, allocations: 45.34 kB / 0.5952 GB, free: 25.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.533, allocations: 441.7 kB / 0.5957 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.5331, allocations: 1.406 kB / 0.5957 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.5331, allocations: 15.91 kB / 0.5957 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.5331, allocations: 10 kB / 0.5957 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.5337, allocations: 304.1 kB / 0.596 GB, free: 25.02 MB / 462.1 MB 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.002737/0.5364, allocations: 1.925 MB / 0.5978 GB, free: 23.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.537, allocations: 268.2 kB / 0.5981 GB, free: 23.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.5372, allocations: 123.6 kB / 0.5982 GB, free: 23.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.5379, allocations: 0.8584 MB / 0.5991 GB, free: 23.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5379, allocations: 35.97 kB / 0.5991 GB, free: 22.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.5379, allocations: 0 / 0.5991 GB, free: 22.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007125/0.5386, allocations: 373.2 kB / 0.5995 GB, free: 22.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5387, allocations: 54.53 kB / 0.5995 GB, free: 22.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.5393, allocations: 474 kB / 0.6 GB, free: 22.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5394, allocations: 31.11 kB / 0.6 GB, free: 22.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.5396, allocations: 264.7 kB / 0.6002 GB, free: 22.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/0.5397, allocations: 92.2 kB / 0.6003 GB, free: 22.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.5398, allocations: 37.23 kB / 0.6004 GB, free: 22.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5399, allocations: 353.4 kB / 0.6007 GB, free: 22.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.5401, allocations: 103 kB / 0.6008 GB, free: 22.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5404, allocations: 171.2 kB / 0.601 GB, free: 22.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.5408, allocations: 277 kB / 0.6012 GB, free: 22.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5408, allocations: 0.9375 kB / 0.6012 GB, free: 22.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006167/0.5415, allocations: 367.3 kB / 0.6016 GB, free: 21.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5415, allocations: 9.562 kB / 0.6016 GB, free: 21.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5415, allocations: 3.438 kB / 0.6016 GB, free: 21.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5415, allocations: 3.188 kB / 0.6016 GB, free: 21.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.5418, allocations: 70.77 kB / 0.6017 GB, free: 21.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.5418, allocations: 11.41 kB / 0.6017 GB, free: 21.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.5422, allocations: 47.12 kB / 0.6017 GB, free: 21.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.5422, allocations: 16.44 kB / 0.6017 GB, free: 21.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002075/0.5424, allocations: 178.5 kB / 0.6019 GB, free: 21.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.5425, allocations: 55.97 kB / 0.602 GB, free: 21.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.5434, allocations: 468.5 kB / 0.6024 GB, free: 21.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.5434, allocations: 9.531 kB / 0.6024 GB, free: 21.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5434, allocations: 4.75 kB / 0.6024 GB, free: 21.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006113/0.5441, allocations: 0.5651 MB / 0.603 GB, free: 21.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5462, allocations: 1.17 MB / 0.6041 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5462, allocations: 1.531 kB / 0.6041 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.5465, allocations: 50.75 kB / 0.6042 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.5465, allocations: 3.234 kB / 0.6042 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.5465, allocations: 13.41 kB / 0.6042 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.5465, allocations: 7.609 kB / 0.6042 GB, free: 20.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5466, allocations: 1.781 kB / 0.6042 GB, free: 20.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.5475, allocations: 0.6639 MB / 0.6048 GB, free: 20.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.5477, allocations: 181.2 kB / 0.605 GB, free: 20.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.5478, allocations: 8.719 kB / 0.605 GB, free: 20.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.5481, allocations: 20.41 kB / 0.605 GB, free: 20.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.5481, allocations: 24.27 kB / 0.6051 GB, free: 20.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.5482, allocations: 21.95 kB / 0.6051 GB, free: 20.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004538/0.5486, allocations: 342.8 kB / 0.6054 GB, free: 20.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5486, allocations: 1.062 kB / 0.6054 GB, free: 20.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.5494, allocations: 196.2 kB / 0.6056 GB, free: 20.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.001886/0.5513, allocations: 1.392 MB / 0.6069 GB, free: 19.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005102/0.5519, allocations: 291.1 kB / 0.6072 GB, free: 19.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5519, allocations: 1.406 kB / 0.6072 GB, free: 19.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.5521, allocations: 167.5 kB / 0.6074 GB, free: 19.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.5539, allocations: 326.3 kB / 0.6077 GB, free: 19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.56, allocations: 4.505 MB / 0.6121 GB, free: 16.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.5605, allocations: 0.8616 MB / 0.6129 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005621/0.5611, allocations: 122.1 kB / 0.6131 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.5614, allocations: 193.3 kB / 0.6132 GB, free: 15.32 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5614, allocations: 0 / 0.6132 GB, free: 15.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.5955, allocations: 15.96 MB / 0.6288 GB, free: 8.016 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.5957, allocations: 245 kB / 0.6291 GB, free: 7.746 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.821, allocations: 4.062 kB / 0.6291 GB, free: 7.742 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)