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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001199/0.001199, allocations: 191.5 kB / 16.13 MB, free: 6.668 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 270.6 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 92.08 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1942, allocations: 86.99 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5057/0.6999, allocations: 163 MB / 0.8386 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.7028, allocations: 1.573 MB / 0.8402 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.7031, allocations: 9.656 kB / 0.8402 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.7037, allocations: 113.4 kB / 0.8403 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.7049, allocations: 440.2 kB / 0.8407 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.7068, allocations: 0.6893 MB / 0.8414 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009962/0.7078, allocations: 0.991 MB / 0.8423 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.7082, allocations: 228.7 kB / 0.8425 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.7087, allocations: 281.1 kB / 0.8428 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.709, allocations: 237.5 kB / 0.843 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.709, allocations: 16.5 kB / 0.8431 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.7108, allocations: 0.9834 MB / 0.844 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.711, allocations: 106.9 kB / 0.8441 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.7111, allocations: 151.6 kB / 0.8443 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.7123, allocations: 0.7713 MB / 0.845 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7123, allocations: 0 / 0.845 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7123, allocations: 4 kB / 0.845 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7123, allocations: 0 / 0.845 GB, free: 13.91 MB / 0.5762 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.001109/0.7135, allocations: 0.6715 MB / 0.8457 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7135, allocations: 13.8 kB / 0.8457 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.714, allocations: 84.2 kB / 0.8458 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.7144, allocations: 304.1 kB / 0.8461 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7144, allocations: 19.22 kB / 0.8461 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.7145, allocations: 23.03 kB / 0.8461 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.7151, allocations: 327.1 kB / 0.8464 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7151, allocations: 0 / 0.8464 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.7152, allocations: 11.88 kB / 0.8464 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.7152, allocations: 10.25 kB / 0.8464 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.7159, allocations: 285.9 kB / 0.8467 GB, free: 12.64 MB / 0.5762 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.7174, allocations: 1.076 MB / 0.8478 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.7183, allocations: 318.4 kB / 0.8481 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.7187, allocations: 135.2 kB / 0.8482 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/0.7194, allocations: 394.3 kB / 0.8486 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7195, allocations: 41.36 kB / 0.8486 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.7195, allocations: 0 / 0.8486 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001293/0.7208, allocations: 401.7 kB / 0.849 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.7208, allocations: 63.34 kB / 0.849 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.7211, allocations: 270.4 kB / 0.8493 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.7211, allocations: 29.2 kB / 0.8493 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.7213, allocations: 168.4 kB / 0.8495 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.7213, allocations: 62.09 kB / 0.8496 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.7214, allocations: 51.86 kB / 0.8496 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7215, allocations: 334.7 kB / 0.8499 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.7218, allocations: 106.6 kB / 0.85 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.7222, allocations: 162.1 kB / 0.8502 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.7228, allocations: 282 kB / 0.8504 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.7228, allocations: 1.875 kB / 0.8505 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006935/0.7235, allocations: 316.2 kB / 0.8508 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7235, allocations: 10.88 kB / 0.8508 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7235, allocations: 0 / 0.8508 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7235, allocations: 2.906 kB / 0.8508 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.7238, allocations: 61.73 kB / 0.8508 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.7238, allocations: 3.547 kB / 0.8508 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.7241, allocations: 41.56 kB / 0.8509 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.7242, allocations: 12.34 kB / 0.8509 GB, free: 9.434 MB / 0.5762 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.0001416/0.7243, allocations: 156.9 kB / 0.851 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.7244, allocations: 24.88 kB / 0.8511 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.7251, allocations: 322 kB / 0.8514 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.7251, allocations: 6.594 kB / 0.8514 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7252, allocations: 1.547 kB / 0.8514 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7252, allocations: 3.984 kB / 0.8514 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.7267, allocations: 0.933 MB / 0.8523 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7267, allocations: 2.906 kB / 0.8523 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.727, allocations: 51.38 kB / 0.8523 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.727, allocations: 2.75 kB / 0.8523 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.727, allocations: 12.3 kB / 0.8523 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.727, allocations: 3.062 kB / 0.8524 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.727, allocations: 0 / 0.8524 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.7281, allocations: 0.5617 MB / 0.8529 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.7283, allocations: 121.8 kB / 0.853 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.7283, allocations: 9.438 kB / 0.853 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.7286, allocations: 26.88 kB / 0.8531 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.7286, allocations: 23.19 kB / 0.8531 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.7287, allocations: 11.81 kB / 0.8531 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000183/0.7289, allocations: 191.5 kB / 0.8533 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7289, allocations: 0 / 0.8533 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000461/0.7293, allocations: 108.4 kB / 0.8534 GB, free: 7.562 MB / 0.5762 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.0004419/0.7298, allocations: 212.3 kB / 0.8536 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007204/0.7305, allocations: 250.3 kB / 0.8538 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.7305, allocations: 0 / 0.8538 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.7309, allocations: 144.9 kB / 0.8539 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.7316, allocations: 130 kB / 0.8541 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.7328, allocations: 0.6913 MB / 0.8547 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.7332, allocations: 0.7766 MB / 0.8555 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002478/0.7335, allocations: 69.5 kB / 0.8556 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.7336, allocations: 27.16 kB / 0.8556 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.7336, allocations: 0 / 0.8556 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.01026/0.7438, allocations: 5.583 MB / 0.8611 GB, free: 3.137 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)