Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004685/0.004685, allocations: 103.7 kB / 15.74 MB, free: 6.035 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.001085/0.001085, allocations: 194.8 kB / 16.68 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 291 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.958/0.958, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 99.84 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4651, allocations: 86.97 MB / 0.7664 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.1684/0.6336, allocations: 165.3 MB / 0.9278 GB, free: 14 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003712/0.6373, allocations: 1.558 MB / 0.9293 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.6379, allocations: 15.94 kB / 0.9293 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.6385, allocations: 146.9 kB / 0.9295 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.6402, allocations: 481.8 kB / 0.9299 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.6423, allocations: 0.7719 MB / 0.9307 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.6434, allocations: 0.702 MB / 0.9314 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.644, allocations: 265.4 kB / 0.9316 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.645, allocations: 318.8 kB / 0.9319 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.6455, allocations: 227.1 kB / 0.9321 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.6456, allocations: 27.94 kB / 0.9322 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.6477, allocations: 0.8692 MB / 0.933 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.6479, allocations: 115.6 kB / 0.9331 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.6481, allocations: 163.2 kB / 0.9333 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.6498, allocations: 0.7403 MB / 0.934 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6498, allocations: 4 kB / 0.934 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6498, allocations: 0 / 0.934 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.6498, allocations: 0 / 0.934 GB, free: 7.613 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001294/0.6511, allocations: 0.6701 MB / 0.9346 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6512, allocations: 12.03 kB / 0.9347 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.6517, allocations: 91.42 kB / 0.9347 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.6522, allocations: 317.8 kB / 0.935 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.6522, allocations: 16.56 kB / 0.9351 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.6523, allocations: 24 kB / 0.9351 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.6529, allocations: 336.1 kB / 0.9354 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.653, allocations: 0 / 0.9354 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.653, allocations: 12 kB / 0.9354 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.653, allocations: 7.938 kB / 0.9354 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.6537, allocations: 281.5 kB / 0.9357 GB, free: 5.766 MB / 0.7012 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.00166/0.6554, allocations: 1.071 MB / 0.9367 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.6563, allocations: 327.7 kB / 0.9371 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.6567, allocations: 135.5 kB / 0.9372 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/0.6573, allocations: 396.3 kB / 0.9376 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.6574, allocations: 42.48 kB / 0.9376 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.6574, allocations: 0 / 0.9376 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001221/0.6586, allocations: 405 kB / 0.938 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.6586, allocations: 51.41 kB / 0.938 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.6589, allocations: 267 kB / 0.9383 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6589, allocations: 29.7 kB / 0.9383 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.6591, allocations: 172.2 kB / 0.9385 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.6591, allocations: 63.02 kB / 0.9385 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.6592, allocations: 45.7 kB / 0.9386 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6593, allocations: 334.8 kB / 0.9389 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.6596, allocations: 103.9 kB / 0.939 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.66, allocations: 168.9 kB / 0.9392 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.6606, allocations: 267 kB / 0.9394 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6606, allocations: 0 / 0.9394 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007458/0.6614, allocations: 321 kB / 0.9397 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6614, allocations: 8 kB / 0.9397 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6614, allocations: 0 / 0.9397 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6615, allocations: 7.938 kB / 0.9397 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.6617, allocations: 60.05 kB / 0.9398 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.6618, allocations: 7.938 kB / 0.9398 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.662, allocations: 39.75 kB / 0.9398 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.6621, allocations: 8 kB / 0.9399 GB, free: 1.242 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001465/0.6622, allocations: 156.2 kB / 0.94 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.6623, allocations: 27.66 kB / 0.94 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007988/0.6631, allocations: 329.6 kB / 0.9403 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6631, allocations: 4 kB / 0.9403 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6631, allocations: 4 kB / 0.9404 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6631, allocations: 7.984 kB / 0.9404 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.6646, allocations: 0.929 MB / 0.9413 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6646, allocations: 4 kB / 0.9413 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.6649, allocations: 47.91 kB / 0.9413 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6649, allocations: 0 / 0.9413 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.6649, allocations: 8 kB / 0.9413 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6649, allocations: 4 kB / 0.9413 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6649, allocations: 3.984 kB / 0.9413 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.666, allocations: 0.5588 MB / 0.9419 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.6662, allocations: 124.7 kB / 0.942 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.6662, allocations: 4 kB / 0.942 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.6664, allocations: 19.97 kB / 0.942 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.6665, allocations: 27.92 kB / 0.942 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.6666, allocations: 12 kB / 0.9421 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001792/0.6667, allocations: 193.9 kB / 0.9422 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6668, allocations: 0 / 0.9422 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004466/0.6672, allocations: 107.8 kB / 0.9423 GB, free: 14.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0004886/0.6677, allocations: 202.8 kB / 0.9425 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007293/0.6684, allocations: 254 kB / 0.9428 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6685, allocations: 0 / 0.9428 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.6688, allocations: 139.8 kB / 0.9429 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.6696, allocations: 133.8 kB / 0.943 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.6707, allocations: 0.5997 MB / 0.9436 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.6711, allocations: 0.7755 MB / 0.9444 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.6713, allocations: 66.23 kB / 0.9444 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.6714, allocations: 31.44 kB / 0.9445 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6714, allocations: 0 / 0.9445 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of Templates: time 0.01198/0.6834, allocations: 5.975 MB / 0.9503 GB, free: 6.383 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)