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.005329/0.005334, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001105/0.001105, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 91.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.537, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.1786/0.7155, allocations: 165.3 MB / 0.9278 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.7188, allocations: 1.548 MB / 0.9293 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.7196, allocations: 11.94 kB / 0.9293 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.7204, allocations: 146.9 kB / 0.9295 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.7222, allocations: 465.8 kB / 0.9299 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.7247, allocations: 0.7533 MB / 0.9306 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.7258, allocations: 0.702 MB / 0.9313 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.7263, allocations: 262.6 kB / 0.9316 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.7271, allocations: 306.9 kB / 0.9319 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.7277, allocations: 231 kB / 0.9321 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.7278, allocations: 24 kB / 0.9321 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.7296, allocations: 0.8691 MB / 0.933 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.7298, allocations: 115.7 kB / 0.9331 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.7301, allocations: 151.3 kB / 0.9332 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.7318, allocations: 0.7534 MB / 0.9339 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7319, allocations: 0 / 0.9339 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7319, allocations: 0 / 0.9339 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.7319, allocations: 0 / 0.9339 GB, free: 7.688 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.00131/0.7332, allocations: 0.6966 MB / 0.9346 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7333, allocations: 8.031 kB / 0.9346 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005621/0.7338, allocations: 79.66 kB / 0.9347 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.7344, allocations: 330 kB / 0.935 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.7344, allocations: 16.56 kB / 0.935 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.7345, allocations: 24 kB / 0.9351 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.7352, allocations: 336.2 kB / 0.9354 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.7352, allocations: 0 / 0.9354 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.7353, allocations: 12 kB / 0.9354 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7353, allocations: 7.938 kB / 0.9354 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.736, allocations: 289.5 kB / 0.9357 GB, free: 5.809 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.001709/0.7378, allocations: 1.06 MB / 0.9367 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.7387, allocations: 331.6 kB / 0.937 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.739, allocations: 136.7 kB / 0.9372 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006755/0.7397, allocations: 392.3 kB / 0.9375 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.7397, allocations: 34.56 kB / 0.9376 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.7398, allocations: 0 / 0.9376 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001223/0.741, allocations: 413.1 kB / 0.938 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.741, allocations: 55.41 kB / 0.938 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.7413, allocations: 263 kB / 0.9383 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.7414, allocations: 33.7 kB / 0.9383 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.7415, allocations: 172.3 kB / 0.9385 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.7416, allocations: 71.41 kB / 0.9385 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.7417, allocations: 41.72 kB / 0.9386 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7418, allocations: 342.8 kB / 0.9389 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.7421, allocations: 103.9 kB / 0.939 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.7425, allocations: 164.8 kB / 0.9392 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.7431, allocations: 270.9 kB / 0.9394 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7431, allocations: 0 / 0.9394 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007693/0.7439, allocations: 319.1 kB / 0.9397 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.7439, allocations: 6.656 kB / 0.9397 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7439, allocations: 3.984 kB / 0.9397 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.7439, allocations: 7.938 kB / 0.9397 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.7442, allocations: 55.91 kB / 0.9398 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.7442, allocations: 7.938 kB / 0.9398 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.7445, allocations: 47.88 kB / 0.9398 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.7445, allocations: 11.98 kB / 0.9399 GB, free: 1.273 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.0001645/0.7447, allocations: 148.2 kB / 0.94 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.7448, allocations: 27.86 kB / 0.94 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.7455, allocations: 319.6 kB / 0.9403 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7456, allocations: 7.938 kB / 0.9403 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7456, allocations: 0 / 0.9403 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7456, allocations: 0 / 0.9403 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.7472, allocations: 0.9276 MB / 0.9412 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7472, allocations: 0 / 0.9412 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.7475, allocations: 64.14 kB / 0.9413 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.7475, allocations: 4 kB / 0.9413 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.7475, allocations: 4 kB / 0.9413 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7475, allocations: 0 / 0.9413 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7475, allocations: 4 kB / 0.9413 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.7486, allocations: 0.5648 MB / 0.9419 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.7488, allocations: 132.9 kB / 0.942 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.7488, allocations: 4 kB / 0.942 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.749, allocations: 23.97 kB / 0.942 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.7491, allocations: 23.91 kB / 0.942 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.7491, allocations: 7.938 kB / 0.942 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001872/0.7493, allocations: 198 kB / 0.9422 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7493, allocations: 0 / 0.9422 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004673/0.7498, allocations: 107.8 kB / 0.9423 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.0005205/0.7503, allocations: 206.4 kB / 0.9425 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.7511, allocations: 255.7 kB / 0.9428 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7511, allocations: 4 kB / 0.9428 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.7515, allocations: 140.5 kB / 0.9429 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.0007452/0.7522, allocations: 131.1 kB / 0.943 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.7534, allocations: 0.599 MB / 0.9436 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.7538, allocations: 0.7794 MB / 0.9444 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.754, allocations: 62.25 kB / 0.9444 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.7541, allocations: 31.42 kB / 0.9445 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.7541, allocations: 0 / 0.9445 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of Templates: time 0.01176/0.7659, allocations: 5.988 MB / 0.9503 GB, free: 6.398 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)