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: translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.001591, allocations: 99.31 kB / 16.64 MB, free: 6.809 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.001509/0.001509, allocations: 189.9 kB / 17.56 MB, free: 5.941 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.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8141/0.8141, allocations: 125.4 MB / 416.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.88 kB / 0.4943 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.393, allocations: 78.55 MB / 0.571 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1937/0.5867, allocations: 159.3 MB / 0.7266 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005822/0.5926, allocations: 3.48 MB / 0.73 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004738/0.5931, allocations: 7.938 kB / 0.73 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.5937, allocations: 107.3 kB / 0.7301 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.5952, allocations: 422.2 kB / 0.7305 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.5971, allocations: 0.5483 MB / 0.731 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.5982, allocations: 0.6244 MB / 0.7316 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.5987, allocations: 229.7 kB / 0.7318 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.6013, allocations: 488.5 kB / 0.7323 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.6017, allocations: 199.2 kB / 0.7325 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.6018, allocations: 28 kB / 0.7325 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.603, allocations: 0.5534 MB / 0.7331 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.6031, allocations: 103.6 kB / 0.7332 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.6033, allocations: 143.3 kB / 0.7333 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000702/0.604, allocations: 399.2 kB / 0.7337 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6041, allocations: 0 / 0.7337 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6041, allocations: 0 / 0.7337 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.6041, allocations: 0 / 0.7337 GB, free: 0.8125 MB / 0.5606 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.001246/0.6053, allocations: 0.635 MB / 0.7343 GB, free: 132 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6054, allocations: 8.031 kB / 0.7343 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.606, allocations: 75.56 kB / 0.7344 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.6064, allocations: 301.2 kB / 0.7347 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.6064, allocations: 16.44 kB / 0.7347 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.6065, allocations: 23.94 kB / 0.7347 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.6072, allocations: 308.2 kB / 0.735 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6072, allocations: 4 kB / 0.735 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.6072, allocations: 7.938 kB / 0.735 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.6073, allocations: 11.94 kB / 0.735 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.6079, allocations: 248.9 kB / 0.7352 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.6097, allocations: 1.244 MB / 0.7365 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.6102, allocations: 178.5 kB / 0.7366 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.6105, allocations: 124.8 kB / 0.7368 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.6112, allocations: 303.2 kB / 0.737 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.6113, allocations: 34.56 kB / 0.7371 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.6113, allocations: 0 / 0.7371 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002394/0.6137, allocations: 0.5753 MB / 0.7376 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.6137, allocations: 51.41 kB / 0.7377 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.6141, allocations: 274.9 kB / 0.7379 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.6141, allocations: 25.7 kB / 0.738 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6142, allocations: 160.2 kB / 0.7381 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.6143, allocations: 43.36 kB / 0.7382 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.6144, allocations: 37.7 kB / 0.7382 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6146, allocations: 334.8 kB / 0.7385 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.6149, allocations: 103.8 kB / 0.7386 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.6152, allocations: 142.4 kB / 0.7388 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.6158, allocations: 232.1 kB / 0.739 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6158, allocations: 0 / 0.739 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001226/0.6171, allocations: 368.7 kB / 0.7393 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6171, allocations: 4 kB / 0.7393 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6171, allocations: 0 / 0.7393 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.6178, allocations: 92.88 kB / 0.7394 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.618, allocations: 35.97 kB / 0.7395 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.6206, allocations: 1.727 MB / 0.7411 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.6209, allocations: 39.78 kB / 0.7412 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.621, allocations: 15.94 kB / 0.7412 GB, free: 8.551 MB / 0.5762 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.0002037/0.6212, allocations: 137.8 kB / 0.7413 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.6212, allocations: 27.7 kB / 0.7414 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6225, allocations: 371.9 kB / 0.7417 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6225, allocations: 0 / 0.7417 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6225, allocations: 4 kB / 0.7417 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6225, allocations: 3.984 kB / 0.7417 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.6243, allocations: 0.7631 MB / 0.7425 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6243, allocations: 4.094 kB / 0.7425 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.6245, allocations: 47.89 kB / 0.7425 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/0.625, allocations: 80.77 kB / 0.7426 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6251, allocations: 0 / 0.7426 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.6273, allocations: 1.739 MB / 0.7443 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6273, allocations: 7.922 kB / 0.7443 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.6286, allocations: 456.8 kB / 0.7447 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.6287, allocations: 124.8 kB / 0.7448 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.6288, allocations: 11.92 kB / 0.7449 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.6291, allocations: 27.88 kB / 0.7449 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.6292, allocations: 15.98 kB / 0.7449 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.6292, allocations: 4.062 kB / 0.7449 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002168/0.6294, allocations: 186 kB / 0.7451 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6294, allocations: 4 kB / 0.7451 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004845/0.6299, allocations: 83.92 kB / 0.7452 GB, free: 4.203 MB / 0.5762 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.0004727/0.6304, allocations: 164.9 kB / 0.7453 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.6315, allocations: 366.5 kB / 0.7457 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6315, allocations: 0 / 0.7457 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.6321, allocations: 258.7 kB / 0.7459 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.6329, allocations: 123.8 kB / 0.746 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.634, allocations: 0.6203 MB / 0.7466 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.6344, allocations: 0.7675 MB / 0.7474 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.6345, allocations: 27.42 kB / 0.7474 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6345, allocations: 0 / 0.7474 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of Templates: time 0.2682/0.9027, allocations: 5.384 MB / 0.7527 GB, free: 169.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)