Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001666, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 291.1 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9743/0.9743, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 95.42 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1814, allocations: 86.98 MB / 0.6794 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6089/0.7903, allocations: 159.2 MB / 0.8349 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.795, allocations: 3.508 MB / 0.8384 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.7954, allocations: 9.406 kB / 0.8384 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.7959, allocations: 105.6 kB / 0.8385 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.7972, allocations: 426.2 kB / 0.8389 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.7989, allocations: 0.5341 MB / 0.8394 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009689/0.7999, allocations: 0.8133 MB / 0.8402 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.8002, allocations: 200.8 kB / 0.8404 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.8018, allocations: 313.1 kB / 0.8407 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.8021, allocations: 202.2 kB / 0.8409 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.8022, allocations: 12.69 kB / 0.8409 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.8034, allocations: 0.6277 MB / 0.8415 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.8035, allocations: 92.83 kB / 0.8416 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.8037, allocations: 129.4 kB / 0.8417 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.8045, allocations: 0.5703 MB / 0.8423 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.8045, allocations: 0 / 0.8423 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8045, allocations: 4 kB / 0.8423 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8045, allocations: 0 / 0.8423 GB, free: 14.87 MB / 0.5762 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.001093/0.8056, allocations: 0.6342 MB / 0.8429 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8057, allocations: 9.188 kB / 0.8429 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/0.8062, allocations: 82.91 kB / 0.843 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.8066, allocations: 293.4 kB / 0.8433 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.8066, allocations: 14.47 kB / 0.8433 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.8067, allocations: 21.42 kB / 0.8433 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.8073, allocations: 309.5 kB / 0.8436 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8073, allocations: 0 / 0.8436 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.8074, allocations: 9.562 kB / 0.8436 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.8074, allocations: 4.562 kB / 0.8436 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.8081, allocations: 259.2 kB / 0.8439 GB, free: 13.81 MB / 0.5762 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.001624/0.8097, allocations: 1.252 MB / 0.8451 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.8101, allocations: 171 kB / 0.8452 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.8105, allocations: 124.4 kB / 0.8454 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.8111, allocations: 304.6 kB / 0.8456 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.8111, allocations: 39.55 kB / 0.8457 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.8111, allocations: 1.344 kB / 0.8457 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002248/0.8134, allocations: 0.5771 MB / 0.8463 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8134, allocations: 51.41 kB / 0.8463 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.8137, allocations: 264.9 kB / 0.8466 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.8137, allocations: 28.39 kB / 0.8466 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.8138, allocations: 161.5 kB / 0.8467 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.8139, allocations: 48.61 kB / 0.8468 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.8139, allocations: 35.05 kB / 0.8468 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8141, allocations: 340.1 kB / 0.8471 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.8144, allocations: 93.97 kB / 0.8472 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.8147, allocations: 141.9 kB / 0.8474 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.8153, allocations: 239.5 kB / 0.8476 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8153, allocations: 3.625 kB / 0.8476 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001181/0.8165, allocations: 351 kB / 0.8479 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.8165, allocations: 5.125 kB / 0.8479 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.8165, allocations: 0 / 0.8479 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.8172, allocations: 91.78 kB / 0.848 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.8174, allocations: 41.31 kB / 0.8481 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.8196, allocations: 1.613 MB / 0.8496 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.8199, allocations: 40.19 kB / 0.8497 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.82, allocations: 4.75 kB / 0.8497 GB, free: 8.871 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.0001819/0.8202, allocations: 146.7 kB / 0.8498 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.8202, allocations: 25.34 kB / 0.8498 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.8214, allocations: 375 kB / 0.8502 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8214, allocations: 2.938 kB / 0.8502 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.8214, allocations: 0 / 0.8502 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8214, allocations: 0 / 0.8502 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.823, allocations: 0.769 MB / 0.851 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.823, allocations: 2.562 kB / 0.851 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.8232, allocations: 43.78 kB / 0.851 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.8237, allocations: 94.16 kB / 0.8511 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.8237, allocations: 1.781 kB / 0.8511 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.8256, allocations: 1.624 MB / 0.8527 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8256, allocations: 0 / 0.8527 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.8267, allocations: 455 kB / 0.8531 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.8269, allocations: 128.1 kB / 0.8532 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.8269, allocations: 3.531 kB / 0.8532 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.8272, allocations: 32.16 kB / 0.8533 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.8273, allocations: 19.97 kB / 0.8533 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.8273, allocations: 8.938 kB / 0.8533 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001745/0.8275, allocations: 185 kB / 0.8535 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8275, allocations: 0 / 0.8535 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004605/0.8279, allocations: 90.23 kB / 0.8536 GB, free: 5.648 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.0004185/0.8284, allocations: 164.4 kB / 0.8537 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009757/0.8294, allocations: 358.7 kB / 0.8541 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8294, allocations: 0 / 0.8541 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.83, allocations: 254.8 kB / 0.8543 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.8307, allocations: 126.7 kB / 0.8544 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.8317, allocations: 0.5797 MB / 0.855 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.8321, allocations: 0.7747 MB / 0.8557 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.8323, allocations: 61.12 kB / 0.8558 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.8324, allocations: 21.78 kB / 0.8558 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.8324, allocations: 0 / 0.8558 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of Templates: time 0.01007/0.8424, allocations: 5.547 MB / 0.8612 GB, free: 1.098 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)