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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7764/0.7764, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 181.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.000955, allocations: 94.8 kB / 0.5124 GB, free: 24.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001898/0.001898, allocations: 289.6 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.542e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4266, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.908, allocations: 1.83 GB / 2.594 GB, free: 219.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/4.908, allocations: 87.89 kB / 2.594 GB, free: 219.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9074/5.816, allocations: 223.5 MB / 2.812 GB, free: 195.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/5.816, allocations: 5.344 kB / 2.812 GB, free: 195.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.745e-05/5.816, allocations: 10.16 kB / 2.812 GB, free: 195.7 MB / 0.698 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.001341/5.817, allocations: 0.6714 MB / 2.813 GB, free: 195.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/5.817, allocations: 9.281 kB / 2.813 GB, free: 195.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/5.818, allocations: 80.64 kB / 2.813 GB, free: 195.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/5.818, allocations: 308 kB / 2.813 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/5.818, allocations: 19.56 kB / 2.813 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/5.818, allocations: 21.25 kB / 2.813 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/5.819, allocations: 282.9 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/5.819, allocations: 6.547 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/5.819, allocations: 7.875 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/5.819, allocations: 9.156 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/5.819, allocations: 200.4 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001472/5.82, allocations: 1.063 MB / 2.815 GB, free: 194.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/5.821, allocations: 285.8 kB / 2.815 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/5.821, allocations: 96.84 kB / 2.815 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/5.822, allocations: 387.8 kB / 2.815 GB, free: 194.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/5.822, allocations: 40.38 kB / 2.816 GB, free: 194 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/5.822, allocations: 3.188 kB / 2.816 GB, free: 194 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0005033/5.822, allocations: 217.2 kB / 2.816 GB, free: 194 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/5.822, allocations: 58.03 kB / 2.816 GB, free: 193.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/5.823, allocations: 228.2 kB / 2.816 GB, free: 193.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/5.823, allocations: 35.89 kB / 2.816 GB, free: 193.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/5.823, allocations: 176.9 kB / 2.816 GB, free: 193.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/5.823, allocations: 65.2 kB / 2.816 GB, free: 193.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/5.823, allocations: 3.562 kB / 2.816 GB, free: 193.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/5.823, allocations: 336.7 kB / 2.817 GB, free: 193.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/5.823, allocations: 60.95 kB / 2.817 GB, free: 193.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/5.823, allocations: 139.4 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/5.823, allocations: 86.34 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/5.823, allocations: 0 / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003182/5.824, allocations: 237 kB / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/5.824, allocations: 8.281 kB / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/5.824, allocations: 1.484 kB / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/5.824, allocations: 3.938 kB / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/5.824, allocations: 70.83 kB / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/5.824, allocations: 0 / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/5.824, allocations: 55.11 kB / 2.817 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/5.824, allocations: 17.64 kB / 2.817 GB, free: 193.2 MB / 0.698 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 () * 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 7.656e-05/5.824, allocations: 114.3 kB / 2.817 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/5.824, allocations: 30.33 kB / 2.817 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/5.825, allocations: 245.4 kB / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/5.825, allocations: 0 / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/5.825, allocations: 7.703 kB / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/5.825, allocations: 0 / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/5.826, allocations: 0.8448 MB / 2.818 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/5.826, allocations: 2.688 kB / 2.818 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/5.826, allocations: 63.83 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/5.826, allocations: 3.375 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/5.826, allocations: 6.406 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/5.826, allocations: 0 / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/5.826, allocations: 6.438 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/5.827, allocations: 0.5142 MB / 2.819 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/5.827, allocations: 125.4 kB / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/5.827, allocations: 0 / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/5.827, allocations: 45.45 kB / 2.819 GB, free: 192.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/5.827, allocations: 26.5 kB / 2.819 GB, free: 192.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/5.827, allocations: 6.688 kB / 2.819 GB, free: 192.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001564/5.827, allocations: 192.8 kB / 2.819 GB, free: 192.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/5.827, allocations: 0 / 2.819 GB, free: 192.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009/5.828, allocations: 198.2 kB / 2.82 GB, free: 192.1 MB / 0.698 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 () * 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.001635/5.83, allocations: 1.027 MB / 2.821 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003378/5.83, allocations: 176.2 kB / 2.821 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/5.83, allocations: 0 / 2.821 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/5.831, allocations: 102.8 kB / 2.821 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/5.831, allocations: 113.1 kB / 2.821 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/5.832, allocations: 458.6 kB / 2.821 GB, free: 191.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/5.832, allocations: 0.7958 MB / 2.822 GB, free: 191 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002333/5.833, allocations: 61.02 kB / 2.822 GB, free: 191 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/5.833, allocations: 23.56 kB / 2.822 GB, free: 190.9 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/5.833, allocations: 3.625 kB / 2.822 GB, free: 190.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02727/5.86, allocations: 20.02 MB / 2.842 GB, free: 190.5 MB / 0.698 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)