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.001326/0.001326, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001079/0.001079, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 289.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9285/0.9285, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 99.83 kB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.438, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.1637/0.6017, allocations: 165.2 MB / 0.9284 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.6046, allocations: 1.563 MB / 0.93 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.6049, allocations: 11.94 kB / 0.93 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.6054, allocations: 142.9 kB / 0.9301 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.6065, allocations: 465.9 kB / 0.9306 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.6084, allocations: 0.7647 MB / 0.9313 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.6091, allocations: 0.6981 MB / 0.932 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.6095, allocations: 265.3 kB / 0.9322 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.61, allocations: 314.9 kB / 0.9325 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.6103, allocations: 223.1 kB / 0.9328 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.6104, allocations: 24 kB / 0.9328 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.6117, allocations: 0.873 MB / 0.9336 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.6118, allocations: 111.6 kB / 0.9337 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.612, allocations: 163.2 kB / 0.9339 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009716/0.613, allocations: 0.7441 MB / 0.9346 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.613, allocations: 4 kB / 0.9346 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.393e-06/0.613, allocations: 0 / 0.9346 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.613, allocations: 0 / 0.9346 GB, free: 7.641 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.001051/0.6141, allocations: 0.6701 MB / 0.9353 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6141, allocations: 12.03 kB / 0.9353 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.6146, allocations: 87.5 kB / 0.9354 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.615, allocations: 317.8 kB / 0.9357 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.6151, allocations: 24.56 kB / 0.9357 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.6151, allocations: 24 kB / 0.9357 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.6158, allocations: 328.2 kB / 0.936 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.6158, allocations: 0 / 0.936 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.6158, allocations: 4 kB / 0.936 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6159, allocations: 11.94 kB / 0.936 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.6166, allocations: 293.4 kB / 0.9363 GB, free: 5.789 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.001546/0.6181, allocations: 1.059 MB / 0.9374 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/0.619, allocations: 331.6 kB / 0.9377 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.6193, allocations: 128.8 kB / 0.9378 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006322/0.62, allocations: 396.3 kB / 0.9382 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.62, allocations: 38.56 kB / 0.9382 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/0.62, allocations: 3.984 kB / 0.9382 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001193/0.6212, allocations: 407.4 kB / 0.9386 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6213, allocations: 59.41 kB / 0.9387 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.6215, allocations: 267 kB / 0.9389 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.6216, allocations: 29.7 kB / 0.9389 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.6217, allocations: 172.1 kB / 0.9391 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.6217, allocations: 63.02 kB / 0.9392 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.6218, allocations: 45.7 kB / 0.9392 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6219, allocations: 338.8 kB / 0.9395 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.6222, allocations: 103.9 kB / 0.9396 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.6226, allocations: 165.4 kB / 0.9398 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.6232, allocations: 270.9 kB / 0.9401 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6232, allocations: 0 / 0.9401 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007288/0.624, allocations: 317 kB / 0.9404 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.624, allocations: 8.156 kB / 0.9404 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.624, allocations: 4 kB / 0.9404 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.624, allocations: 3.938 kB / 0.9404 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.6243, allocations: 59.89 kB / 0.9404 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6243, allocations: 0 / 0.9404 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.6246, allocations: 39.75 kB / 0.9405 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.6246, allocations: 15.94 kB / 0.9405 GB, free: 1.27 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.0001473/0.6248, allocations: 157.8 kB / 0.9406 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.6248, allocations: 27.66 kB / 0.9407 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.6256, allocations: 325.7 kB / 0.941 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6256, allocations: 3.938 kB / 0.941 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6256, allocations: 4 kB / 0.941 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6256, allocations: 0 / 0.941 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.6271, allocations: 0.929 MB / 0.9419 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6271, allocations: 4 kB / 0.9419 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.6274, allocations: 43.91 kB / 0.9419 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6274, allocations: 4 kB / 0.9419 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.6274, allocations: 11.98 kB / 0.9419 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6274, allocations: 8.188 kB / 0.9419 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6274, allocations: 0 / 0.9419 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.6285, allocations: 0.5547 MB / 0.9425 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6286, allocations: 120.7 kB / 0.9426 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.6287, allocations: 8.062 kB / 0.9426 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.6289, allocations: 27.97 kB / 0.9426 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.629, allocations: 19.92 kB / 0.9427 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.629, allocations: 11.98 kB / 0.9427 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001709/0.6292, allocations: 194 kB / 0.9429 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6292, allocations: 0 / 0.9429 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000451/0.6297, allocations: 107.8 kB / 0.943 GB, free: 14.55 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.0004478/0.6301, allocations: 202.3 kB / 0.9432 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007008/0.6308, allocations: 262.3 kB / 0.9434 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6308, allocations: 0 / 0.9434 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.6312, allocations: 139.7 kB / 0.9435 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.6319, allocations: 132.6 kB / 0.9437 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.633, allocations: 0.6248 MB / 0.9443 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6334, allocations: 0.7794 MB / 0.945 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6335, allocations: 27.44 kB / 0.9451 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6335, allocations: 0 / 0.9451 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of Templates: time 0.007662/0.6412, allocations: 5.137 MB / 0.9501 GB, free: 7.242 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)