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.001208/0.001208, allocations: 107.3 kB / 16.37 MB, free: 6.477 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.001291/0.001291, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 285.8 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8937/0.8937, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 103.7 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1508, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4392/0.59, allocations: 165.3 MB / 0.843 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.5928, allocations: 1.544 MB / 0.8445 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.593, allocations: 11.94 kB / 0.8445 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.5935, allocations: 146.9 kB / 0.8446 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.5947, allocations: 469.8 kB / 0.8451 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.5962, allocations: 0.7526 MB / 0.8458 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.5969, allocations: 0.7059 MB / 0.8465 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.5973, allocations: 271.8 kB / 0.8468 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.5978, allocations: 306.8 kB / 0.8471 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.5981, allocations: 227.1 kB / 0.8473 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.5982, allocations: 28 kB / 0.8473 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.5995, allocations: 0.8575 MB / 0.8481 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.5997, allocations: 115.7 kB / 0.8483 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.5998, allocations: 163.1 kB / 0.8484 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009851/0.6008, allocations: 0.7403 MB / 0.8491 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.6008, allocations: 0 / 0.8491 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6008, allocations: 0 / 0.8491 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6009, allocations: 0 / 0.8491 GB, free: 3.105 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001049/0.6019, allocations: 0.6824 MB / 0.8498 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.602, allocations: 12.03 kB / 0.8498 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.6024, allocations: 83.5 kB / 0.8499 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.6028, allocations: 309.9 kB / 0.8502 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.6029, allocations: 20.56 kB / 0.8502 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.6029, allocations: 24 kB / 0.8502 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.6036, allocations: 340.1 kB / 0.8506 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6036, allocations: 0 / 0.8506 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.6036, allocations: 4 kB / 0.8506 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.6036, allocations: 11.94 kB / 0.8506 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.6043, allocations: 281.5 kB / 0.8508 GB, free: 1.262 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.001548/0.6058, allocations: 1.075 MB / 0.8519 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.6067, allocations: 323.7 kB / 0.8522 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.607, allocations: 137.3 kB / 0.8523 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/0.6076, allocations: 388.3 kB / 0.8527 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6077, allocations: 42.5 kB / 0.8527 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.6077, allocations: 0 / 0.8527 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001062/0.6087, allocations: 404 kB / 0.8531 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.6088, allocations: 59.34 kB / 0.8532 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.609, allocations: 270.9 kB / 0.8534 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.6091, allocations: 29.7 kB / 0.8535 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6092, allocations: 164.2 kB / 0.8536 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.6092, allocations: 71.09 kB / 0.8537 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.6093, allocations: 45.61 kB / 0.8537 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6095, allocations: 338.8 kB / 0.8541 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.6097, allocations: 99.91 kB / 0.8542 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.6101, allocations: 179.7 kB / 0.8543 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.6106, allocations: 261.4 kB / 0.8546 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6106, allocations: 0 / 0.8546 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006551/0.6113, allocations: 325 kB / 0.8549 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6113, allocations: 6.344 kB / 0.8549 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6113, allocations: 4 kB / 0.8549 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6113, allocations: 0 / 0.8549 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.6116, allocations: 63.83 kB / 0.855 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.6116, allocations: 4.156 kB / 0.855 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.6118, allocations: 39.72 kB / 0.855 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.6119, allocations: 12 kB / 0.855 GB, free: 12.73 MB / 0.6231 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.0001364/0.612, allocations: 153.7 kB / 0.8552 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.6121, allocations: 23.72 kB / 0.8552 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.6128, allocations: 323.1 kB / 0.8555 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.6128, allocations: 3.938 kB / 0.8555 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6128, allocations: 3.938 kB / 0.8555 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6128, allocations: 0 / 0.8555 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.6141, allocations: 0.9347 MB / 0.8564 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6142, allocations: 8.031 kB / 0.8564 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.6144, allocations: 47.89 kB / 0.8565 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6144, allocations: 4 kB / 0.8565 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.6144, allocations: 8 kB / 0.8565 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6145, allocations: 4 kB / 0.8565 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6145, allocations: 0 / 0.8565 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/0.6154, allocations: 0.5624 MB / 0.857 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.6155, allocations: 120.8 kB / 0.8571 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.6156, allocations: 8 kB / 0.8571 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.6158, allocations: 19.98 kB / 0.8572 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.6159, allocations: 31.91 kB / 0.8572 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.6159, allocations: 8 kB / 0.8572 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001533/0.6161, allocations: 194 kB / 0.8574 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6161, allocations: 0 / 0.8574 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004003/0.6165, allocations: 111.8 kB / 0.8575 GB, free: 10.01 MB / 0.6231 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.0004147/0.6169, allocations: 190.6 kB / 0.8577 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006265/0.6175, allocations: 258.4 kB / 0.8579 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6175, allocations: 320 / 0.8579 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.6179, allocations: 139.8 kB / 0.8581 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.6185, allocations: 133.1 kB / 0.8582 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.6195, allocations: 0.6037 MB / 0.8588 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.6198, allocations: 0.7871 MB / 0.8595 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.62, allocations: 74.17 kB / 0.8596 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.62, allocations: 23.44 kB / 0.8596 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.62, allocations: 0 / 0.8596 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of Templates: time 0.009693/0.6297, allocations: 5.953 MB / 0.8655 GB, free: 1.906 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)