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.000983/0.000983, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001027/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 267.2 kB / 291.4 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.94/0.94, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005812/0.0005813, allocations: 16.91 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1563, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4267/0.583, allocations: 150.1 MB / 0.8311 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.5855, allocations: 1.471 MB / 0.8325 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.5857, allocations: 12.5 kB / 0.8325 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.5861, allocations: 100.3 kB / 0.8326 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.5869, allocations: 355.6 kB / 0.8329 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.5884, allocations: 0.5565 MB / 0.8335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000797/0.5892, allocations: 0.8332 MB / 0.8343 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.5895, allocations: 203.5 kB / 0.8345 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.59, allocations: 283 kB / 0.8348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.5902, allocations: 216.5 kB / 0.835 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.5903, allocations: 12.59 kB / 0.835 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000998/0.5913, allocations: 0.5401 MB / 0.8355 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.5914, allocations: 96.28 kB / 0.8356 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.5915, allocations: 85.34 kB / 0.8357 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.592, allocations: 459.3 kB / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.592, allocations: 3.375 kB / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.056e-06/0.592, allocations: 0 / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.592, allocations: 7.938 kB / 0.8361 GB, free: 10.26 MB / 0.5606 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.0009051/0.5929, allocations: 0.6363 MB / 0.8368 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.593, allocations: 9.938 kB / 0.8368 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.5934, allocations: 80.78 kB / 0.8368 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5938, allocations: 297 kB / 0.8371 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5938, allocations: 21.22 kB / 0.8371 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.5939, allocations: 23.28 kB / 0.8372 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.5945, allocations: 343 kB / 0.8375 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5945, allocations: 7.938 kB / 0.8375 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.5945, allocations: 13.39 kB / 0.8375 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5945, allocations: 6.438 kB / 0.8375 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.5952, allocations: 313.5 kB / 0.8378 GB, free: 9.211 MB / 0.5606 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.001489/0.5967, allocations: 1.077 MB / 0.8389 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.5975, allocations: 340.4 kB / 0.8392 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.5979, allocations: 149.1 kB / 0.8393 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/0.5985, allocations: 407.6 kB / 0.8397 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5985, allocations: 38.5 kB / 0.8398 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.5986, allocations: 0 / 0.8398 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001139/0.5997, allocations: 458.3 kB / 0.8402 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5997, allocations: 53 kB / 0.8402 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.6, allocations: 272.9 kB / 0.8405 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.6, allocations: 29.7 kB / 0.8405 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.6001, allocations: 168.1 kB / 0.8407 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.6002, allocations: 64.75 kB / 0.8408 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.6002, allocations: 6.969 kB / 0.8408 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6003, allocations: 339.3 kB / 0.8411 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.6006, allocations: 121.2 kB / 0.8412 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.601, allocations: 179.7 kB / 0.8414 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.6013, allocations: 136.8 kB / 0.8415 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6013, allocations: 0 / 0.8415 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006757/0.602, allocations: 346.8 kB / 0.8418 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.602, allocations: 7.562 kB / 0.8418 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.602, allocations: 7.891 kB / 0.8419 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.602, allocations: 2.656 kB / 0.8419 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.6023, allocations: 73.39 kB / 0.8419 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6023, allocations: 2.562 kB / 0.8419 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.6025, allocations: 56.84 kB / 0.842 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.6026, allocations: 9.391 kB / 0.842 GB, free: 6.098 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.6027, allocations: 157.7 kB / 0.8421 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.6028, allocations: 25.47 kB / 0.8422 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.6035, allocations: 352.1 kB / 0.8425 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6036, allocations: 1.906 kB / 0.8425 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6036, allocations: 3.031 kB / 0.8425 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6036, allocations: 3.953 kB / 0.8425 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.605, allocations: 0.9572 MB / 0.8434 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.605, allocations: 9.516 kB / 0.8435 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.6053, allocations: 59.22 kB / 0.8435 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6053, allocations: 0 / 0.8435 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.6053, allocations: 14.2 kB / 0.8435 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6053, allocations: 0 / 0.8435 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6053, allocations: 2.469 kB / 0.8435 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.6064, allocations: 0.6027 MB / 0.8441 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.6065, allocations: 124.7 kB / 0.8442 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.6065, allocations: 2.938 kB / 0.8442 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.6068, allocations: 37.72 kB / 0.8443 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.6069, allocations: 24.59 kB / 0.8443 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.6069, allocations: 8.031 kB / 0.8443 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001716/0.6071, allocations: 193 kB / 0.8445 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6071, allocations: 2.188 kB / 0.8445 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004222/0.6075, allocations: 111.6 kB / 0.8446 GB, free: 4.215 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004628/0.608, allocations: 206.2 kB / 0.8448 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.6087, allocations: 288.9 kB / 0.8451 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6087, allocations: 0 / 0.8451 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.609, allocations: 155.1 kB / 0.8452 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.6098, allocations: 122.7 kB / 0.8453 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.6108, allocations: 0.7145 MB / 0.846 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.6111, allocations: 0.7767 MB / 0.8468 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.6114, allocations: 74.72 kB / 0.8469 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.6115, allocations: 27.44 kB / 0.8469 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.6115, allocations: 3.938 kB / 0.8469 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.009894/0.6214, allocations: 5.414 MB / 0.8522 GB, free: 15.81 MB / 0.5762 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)