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.001299/0.001299, allocations: 111 kB / 16.37 MB, free: 6.012 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.001333/0.001333, allocations: 191 kB / 17.3 MB, free: 5.613 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 276 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.974/0.974, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001746, allocations: 89.98 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.176, allocations: 86.98 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4356/0.6116, allocations: 161.5 MB / 0.8393 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.6162, allocations: 3.501 MB / 0.8427 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.6165, allocations: 11.94 kB / 0.8427 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.6169, allocations: 134.9 kB / 0.8429 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.618, allocations: 445.9 kB / 0.8433 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.6194, allocations: 0.5996 MB / 0.8439 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.62, allocations: 0.6322 MB / 0.8445 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.6204, allocations: 224.7 kB / 0.8447 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.6214, allocations: 347.5 kB / 0.845 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.6217, allocations: 195.2 kB / 0.8452 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.6217, allocations: 20 kB / 0.8452 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.6225, allocations: 0.5456 MB / 0.8458 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.6227, allocations: 95.72 kB / 0.8459 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.6228, allocations: 151.2 kB / 0.846 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.6235, allocations: 0.5598 MB / 0.8465 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6235, allocations: 0 / 0.8465 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6235, allocations: 0 / 0.8465 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6236, allocations: 4 kB / 0.8466 GB, free: 5.633 MB / 0.6075 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.0009695/0.6245, allocations: 0.6355 MB / 0.8472 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.6246, allocations: 8.031 kB / 0.8472 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/0.625, allocations: 83.5 kB / 0.8473 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.6254, allocations: 301.4 kB / 0.8475 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.6255, allocations: 12.44 kB / 0.8476 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.6255, allocations: 27.31 kB / 0.8476 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.6261, allocations: 316.1 kB / 0.8479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6261, allocations: 0 / 0.8479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.6261, allocations: 8 kB / 0.8479 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.6261, allocations: 4 kB / 0.8479 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006077/0.6268, allocations: 248.8 kB / 0.8481 GB, free: 3.91 MB / 0.6075 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.001532/0.6283, allocations: 1.244 MB / 0.8494 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.6287, allocations: 178.5 kB / 0.8495 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.629, allocations: 124.8 kB / 0.8496 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.6296, allocations: 307.2 kB / 0.8499 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6296, allocations: 30.56 kB / 0.85 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.6296, allocations: 0 / 0.85 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002105/0.6317, allocations: 0.577 MB / 0.8505 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.6318, allocations: 59.34 kB / 0.8506 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.632, allocations: 259 kB / 0.8508 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.632, allocations: 29.7 kB / 0.8509 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.6322, allocations: 168.2 kB / 0.851 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.6322, allocations: 43.34 kB / 0.8511 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.6323, allocations: 45.56 kB / 0.8511 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6324, allocations: 334.8 kB / 0.8514 GB, free: 292 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.6327, allocations: 95.91 kB / 0.8515 GB, free: 196 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.633, allocations: 132.2 kB / 0.8516 GB, free: 48 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.6335, allocations: 239.1 kB / 0.8519 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6335, allocations: 4 kB / 0.8519 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001092/0.6346, allocations: 353.8 kB / 0.8522 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6347, allocations: 4 kB / 0.8522 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6347, allocations: 4 kB / 0.8522 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.6353, allocations: 88.88 kB / 0.8523 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.6355, allocations: 43.91 kB / 0.8523 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.6377, allocations: 1.724 MB / 0.854 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.638, allocations: 35.88 kB / 0.8541 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.638, allocations: 4 kB / 0.8541 GB, free: 13.39 MB / 0.6231 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.0002079/0.6382, allocations: 149.8 kB / 0.8542 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.6383, allocations: 19.72 kB / 0.8542 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.6394, allocations: 368.7 kB / 0.8546 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.6394, allocations: 4 kB / 0.8546 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.6394, allocations: 0 / 0.8546 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6394, allocations: 4 kB / 0.8546 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.641, allocations: 0.7707 MB / 0.8553 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.641, allocations: 0 / 0.8553 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.6412, allocations: 40.92 kB / 0.8554 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.6416, allocations: 80.72 kB / 0.8555 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.6416, allocations: 7.938 kB / 0.8555 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.6435, allocations: 1.743 MB / 0.8572 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6435, allocations: 0 / 0.8572 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6446, allocations: 458.3 kB / 0.8576 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.6447, allocations: 120.8 kB / 0.8577 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.6447, allocations: 11.92 kB / 0.8577 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.645, allocations: 23.91 kB / 0.8578 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.6451, allocations: 19.98 kB / 0.8578 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.6451, allocations: 12 kB / 0.8578 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001605/0.6453, allocations: 186 kB / 0.858 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6453, allocations: 0 / 0.858 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004251/0.6457, allocations: 87.77 kB / 0.858 GB, free: 9.039 MB / 0.6231 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.0003825/0.6461, allocations: 153.4 kB / 0.8582 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.6471, allocations: 370.2 kB / 0.8585 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6471, allocations: 4.25 kB / 0.8585 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.6477, allocations: 254.5 kB / 0.8588 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.6484, allocations: 128.5 kB / 0.8589 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.6492, allocations: 0.4925 MB / 0.8594 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.6495, allocations: 0.7714 MB / 0.8601 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.6497, allocations: 58.25 kB / 0.8602 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.6497, allocations: 19.44 kB / 0.8602 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.6497, allocations: 0 / 0.8602 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.0103/0.66, allocations: 5.952 MB / 0.866 GB, free: 0.8672 MB / 0.6231 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)