Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001068/0.001068, allocations: 111.1 kB / 16.37 MB, free: 6.344 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.001075/0.001075, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 63.73 kB / 0.5819 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 80.22 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.6056/0.781, allocations: 165.3 MB / 0.8217 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004509/0.7855, allocations: 1.552 MB / 0.8232 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.7862, allocations: 14.72 kB / 0.8232 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.7869, allocations: 142.7 kB / 0.8233 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.7888, allocations: 468.4 kB / 0.8238 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.7923, allocations: 0.7553 MB / 0.8245 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.7937, allocations: 0.6985 MB / 0.8252 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006463/0.7943, allocations: 261.7 kB / 0.8255 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008817/0.7952, allocations: 324.3 kB / 0.8258 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.7957, allocations: 220.6 kB / 0.826 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.7957, allocations: 23.69 kB / 0.826 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.7985, allocations: 0.8708 MB / 0.8269 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.7988, allocations: 114.8 kB / 0.827 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.7991, allocations: 156.9 kB / 0.8271 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.8008, allocations: 0.7412 MB / 0.8278 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8008, allocations: 0 / 0.8278 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8009, allocations: 4 kB / 0.8278 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.8009, allocations: 2.781 kB / 0.8278 GB, free: 3.176 MB / 0.5919 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.001779/0.8027, allocations: 0.6753 MB / 0.8285 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.8027, allocations: 14.34 kB / 0.8285 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.8036, allocations: 80.25 kB / 0.8286 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/0.8043, allocations: 315 kB / 0.8289 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.8044, allocations: 18.84 kB / 0.8289 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.8045, allocations: 30.89 kB / 0.8289 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.8056, allocations: 328.2 kB / 0.8293 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.8056, allocations: 2.25 kB / 0.8293 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.8057, allocations: 14.75 kB / 0.8293 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.8057, allocations: 8.562 kB / 0.8293 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.807, allocations: 287.2 kB / 0.8295 GB, free: 1.871 MB / 0.5919 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.002758/0.8098, allocations: 1.053 MB / 0.8306 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.8113, allocations: 330.2 kB / 0.8309 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.8119, allocations: 130.9 kB / 0.831 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.813, allocations: 400.9 kB / 0.8314 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.8131, allocations: 33.5 kB / 0.8314 GB, free: 276 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 2.946e-06/0.8131, allocations: 0 / 0.8314 GB, free: 276 kB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.002127/0.8153, allocations: 406.7 kB / 0.8318 GB, free: 68 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.8153, allocations: 54.22 kB / 0.8319 GB, free: 4 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.8158, allocations: 273.4 kB / 0.8321 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.8159, allocations: 25.7 kB / 0.8322 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.8161, allocations: 171.6 kB / 0.8323 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.8161, allocations: 66.3 kB / 0.8324 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/0.8162, allocations: 43.27 kB / 0.8324 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8164, allocations: 338.4 kB / 0.8327 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.8167, allocations: 107.1 kB / 0.8328 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.817, allocations: 164.4 kB / 0.833 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.8176, allocations: 271.7 kB / 0.8333 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8176, allocations: 9.625 kB / 0.8333 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007148/0.8184, allocations: 308.3 kB / 0.8336 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8184, allocations: 5.688 kB / 0.8336 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8184, allocations: 10.19 kB / 0.8336 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8184, allocations: 2.312 kB / 0.8336 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.8187, allocations: 62.92 kB / 0.8336 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.8187, allocations: 2.875 kB / 0.8336 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.819, allocations: 38.28 kB / 0.8337 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.819, allocations: 15.67 kB / 0.8337 GB, free: 14.66 MB / 0.6075 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.0001691/0.8192, allocations: 161.9 kB / 0.8339 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.8193, allocations: 24.41 kB / 0.8339 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.8201, allocations: 307.3 kB / 0.8342 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8201, allocations: 2.719 kB / 0.8342 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8201, allocations: 0 / 0.8342 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8201, allocations: 8.031 kB / 0.8342 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.8216, allocations: 0.9375 MB / 0.8351 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8216, allocations: 0 / 0.8351 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.8219, allocations: 53.36 kB / 0.8351 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.8219, allocations: 2.5 kB / 0.8351 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.8219, allocations: 6.656 kB / 0.8352 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.822, allocations: 2.688 kB / 0.8352 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.822, allocations: 6.75 kB / 0.8352 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.823, allocations: 0.5576 MB / 0.8357 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.8232, allocations: 123.6 kB / 0.8358 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.8232, allocations: 4.281 kB / 0.8358 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.8234, allocations: 28.44 kB / 0.8359 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.8235, allocations: 27.53 kB / 0.8359 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.8236, allocations: 7.812 kB / 0.8359 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001649/0.8237, allocations: 191.6 kB / 0.8361 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8237, allocations: 0 / 0.8361 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004796/0.8242, allocations: 108.4 kB / 0.8362 GB, free: 12.79 MB / 0.6075 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.0005191/0.8247, allocations: 201.6 kB / 0.8364 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008015/0.8256, allocations: 261.8 kB / 0.8366 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8256, allocations: 3.938 kB / 0.8366 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.8259, allocations: 137.9 kB / 0.8368 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.8267, allocations: 135.5 kB / 0.8369 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.828, allocations: 0.6309 MB / 0.8375 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.8283, allocations: 0.7844 MB / 0.8383 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.8284, allocations: 25.38 kB / 0.8383 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.8284, allocations: 0 / 0.8383 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Templates: time 0.007869/0.8363, allocations: 5.128 MB / 0.8433 GB, free: 8.559 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)