Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",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.0008575/0.0008576, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009378/0.0009381, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 8.188 kB / 495.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 77.53 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4885/0.6258, allocations: 157.2 MB / 0.7135 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004963/0.6308, allocations: 3.471 MB / 0.7169 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.6313, allocations: 15.88 kB / 0.7169 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.6318, allocations: 103.3 kB / 0.717 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.6332, allocations: 418.2 kB / 0.7174 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.6347, allocations: 0.5478 MB / 0.718 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.6357, allocations: 0.8077 MB / 0.7187 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.6362, allocations: 192.6 kB / 0.7189 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.6378, allocations: 301.6 kB / 0.7192 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.6382, allocations: 203.2 kB / 0.7194 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.6383, allocations: 12 kB / 0.7194 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.6394, allocations: 0.6273 MB / 0.72 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.6395, allocations: 79.72 kB / 0.7201 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.6397, allocations: 164.9 kB / 0.7203 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009273/0.6407, allocations: 0.5608 MB / 0.7208 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6407, allocations: 0 / 0.7208 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6407, allocations: 0 / 0.7208 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6407, allocations: 0 / 0.7208 GB, free: 2.137 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001119/0.6418, allocations: 0.6046 MB / 0.7214 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6419, allocations: 12.03 kB / 0.7214 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.642, allocations: 54.55 kB / 0.7215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005603/0.6425, allocations: 83.48 kB / 0.7215 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.643, allocations: 297.3 kB / 0.7218 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.643, allocations: 12.44 kB / 0.7218 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.643, allocations: 20 kB / 0.7219 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.6437, allocations: 332.1 kB / 0.7222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6437, allocations: 0 / 0.7222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.6438, allocations: 12.88 kB / 0.7222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6438, allocations: 7.938 kB / 0.7222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.6445, allocations: 276.9 kB / 0.7225 GB, free: 340 kB / 0.5294 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.001725/0.6462, allocations: 1.252 MB / 0.7237 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.6467, allocations: 198.5 kB / 0.7239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.647, allocations: 140.8 kB / 0.724 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.6476, allocations: 319.2 kB / 0.7243 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6477, allocations: 34.56 kB / 0.7243 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.6477, allocations: 0 / 0.7243 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.002336/0.65, allocations: 0.6309 MB / 0.725 GB, free: 13.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.6501, allocations: 51.41 kB / 0.725 GB, free: 13.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.6503, allocations: 255 kB / 0.7252 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/0.6504, allocations: 37.64 kB / 0.7253 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.6505, allocations: 164.1 kB / 0.7254 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.6506, allocations: 55.27 kB / 0.7255 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.6507, allocations: 17.72 kB / 0.7255 GB, free: 12.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6508, allocations: 334.8 kB / 0.7258 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.6511, allocations: 107.9 kB / 0.7259 GB, free: 12.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.6515, allocations: 156.2 kB / 0.7261 GB, free: 12.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.6521, allocations: 268.1 kB / 0.7263 GB, free: 12.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6521, allocations: 0 / 0.7263 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001202/0.6533, allocations: 389.8 kB / 0.7267 GB, free: 11.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6533, allocations: 4 kB / 0.7267 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6533, allocations: 4 kB / 0.7267 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.654, allocations: 92.89 kB / 0.7268 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.6542, allocations: 55.89 kB / 0.7269 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.6564, allocations: 1.605 MB / 0.7284 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.6567, allocations: 47.88 kB / 0.7285 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.6567, allocations: 11.92 kB / 0.7285 GB, free: 9.727 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.6569, allocations: 145.8 kB / 0.7286 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.6569, allocations: 23.72 kB / 0.7286 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.6581, allocations: 405.5 kB / 0.729 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6582, allocations: 0 / 0.729 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6582, allocations: 4 kB / 0.729 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6582, allocations: 0 / 0.729 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.6599, allocations: 0.8091 MB / 0.7298 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6599, allocations: 4.094 kB / 0.7298 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.6601, allocations: 39.97 kB / 0.7299 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/0.6606, allocations: 100.7 kB / 0.73 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.6607, allocations: 4 kB / 0.73 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.6625, allocations: 1.625 MB / 0.7316 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6626, allocations: 0 / 0.7316 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.6638, allocations: 482.4 kB / 0.732 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.6639, allocations: 128.7 kB / 0.7321 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.6639, allocations: 4 kB / 0.7321 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.6642, allocations: 35.88 kB / 0.7322 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.6643, allocations: 15.97 kB / 0.7322 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.6643, allocations: 16.14 kB / 0.7322 GB, free: 5.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001674/0.6645, allocations: 182 kB / 0.7324 GB, free: 5.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6645, allocations: 0 / 0.7324 GB, free: 5.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004025/0.6649, allocations: 91.78 kB / 0.7325 GB, free: 5.375 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.6667, allocations: 1.087 MB / 0.7335 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.6677, allocations: 395.1 kB / 0.7339 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6677, allocations: 0 / 0.7339 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.6683, allocations: 270.7 kB / 0.7342 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.6691, allocations: 115.6 kB / 0.7343 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.674, allocations: 2.992 MB / 0.7372 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.6745, allocations: 0.7675 MB / 0.7379 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.6747, allocations: 54.33 kB / 0.738 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6748, allocations: 75.41 kB / 0.7381 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6748, allocations: 0 / 0.7381 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.6978, allocations: 7.929 MB / 0.7458 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.698, allocations: 262.4 kB / 0.7461 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.623, allocations: 0 / 0.7461 GB, free: 7.398 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)