Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9079/0.9079, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 65.78 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1413, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.3916/0.5329, allocations: 165.2 MB / 0.7458 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.5355, allocations: 1.549 MB / 0.7474 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.5357, allocations: 10.81 kB / 0.7474 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.5362, allocations: 142 kB / 0.7475 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.5372, allocations: 471.8 kB / 0.748 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.5388, allocations: 0.7535 MB / 0.7487 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006411/0.5394, allocations: 0.7061 MB / 0.7494 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.5398, allocations: 271.3 kB / 0.7496 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.5402, allocations: 302.8 kB / 0.7499 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.5405, allocations: 229.7 kB / 0.7501 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.5406, allocations: 22.72 kB / 0.7502 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.5418, allocations: 0.8681 MB / 0.751 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.542, allocations: 114.3 kB / 0.7511 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.5421, allocations: 151 kB / 0.7513 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.543, allocations: 0.7433 MB / 0.752 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.543, allocations: 0 / 0.752 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5431, allocations: 0 / 0.752 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.5431, allocations: 0 / 0.752 GB, free: 0.5938 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.00103/0.5441, allocations: 0.6814 MB / 0.7527 GB, free: 0 / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5442, allocations: 14.7 kB / 0.7527 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.5442, allocations: 62.84 kB / 0.7527 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.5447, allocations: 83.34 kB / 0.7528 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.5451, allocations: 297 kB / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5451, allocations: 15.72 kB / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.5451, allocations: 26.62 kB / 0.7531 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.5458, allocations: 332.6 kB / 0.7535 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5458, allocations: 0 / 0.7535 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.5458, allocations: 14.75 kB / 0.7535 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5458, allocations: 5.312 kB / 0.7535 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.5465, allocations: 287.9 kB / 0.7537 GB, free: 15.25 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.001503/0.548, allocations: 1.072 MB / 0.7548 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.5489, allocations: 327.6 kB / 0.7551 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.5493, allocations: 140.7 kB / 0.7552 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000655/0.55, allocations: 392.3 kB / 0.7556 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.55, allocations: 32.25 kB / 0.7556 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.55, allocations: 3.938 kB / 0.7556 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001204/0.5512, allocations: 407.3 kB / 0.756 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5512, allocations: 59.33 kB / 0.7561 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.5515, allocations: 267 kB / 0.7563 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5515, allocations: 29.7 kB / 0.7564 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.5517, allocations: 172.1 kB / 0.7565 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.5517, allocations: 71.08 kB / 0.7566 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.5518, allocations: 45.7 kB / 0.7567 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5519, allocations: 334.8 kB / 0.757 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.5522, allocations: 103.9 kB / 0.7571 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.5526, allocations: 164.5 kB / 0.7572 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.5532, allocations: 263.5 kB / 0.7575 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5532, allocations: 0 / 0.7575 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000739/0.554, allocations: 321 kB / 0.7578 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.554, allocations: 8 kB / 0.7578 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.554, allocations: 3.938 kB / 0.7578 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.554, allocations: 4 kB / 0.7578 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.5543, allocations: 60.06 kB / 0.7579 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5543, allocations: 7.984 kB / 0.7579 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.5546, allocations: 35.81 kB / 0.7579 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.5546, allocations: 8 kB / 0.7579 GB, free: 10.92 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.0001337/0.5548, allocations: 151 kB / 0.758 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.5548, allocations: 31.62 kB / 0.7581 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.5556, allocations: 323.3 kB / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5556, allocations: 0 / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5556, allocations: 7.938 kB / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5556, allocations: 0 / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.5571, allocations: 0.9368 MB / 0.7593 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5571, allocations: 3.984 kB / 0.7593 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.5574, allocations: 51.95 kB / 0.7594 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5574, allocations: 4 kB / 0.7594 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.5574, allocations: 0 / 0.7594 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.5574, allocations: 7.938 kB / 0.7594 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5574, allocations: 7.938 kB / 0.7594 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5585, allocations: 0.5569 MB / 0.7599 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5586, allocations: 124.7 kB / 0.76 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.5587, allocations: 11.98 kB / 0.7601 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.5589, allocations: 19.98 kB / 0.7601 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.559, allocations: 27.97 kB / 0.7601 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.559, allocations: 4 kB / 0.7601 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001601/0.5592, allocations: 194 kB / 0.7603 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5592, allocations: 0 / 0.7603 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004184/0.5596, allocations: 107.9 kB / 0.7604 GB, free: 8.199 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.001617/0.5612, allocations: 1.189 MB / 0.7616 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.562, allocations: 267.6 kB / 0.7618 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.562, allocations: 0 / 0.7618 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.5624, allocations: 148.2 kB / 0.762 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.5631, allocations: 140.6 kB / 0.7621 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.5671, allocations: 2.957 MB / 0.765 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.5674, allocations: 0.7792 MB / 0.7657 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.5676, allocations: 68.95 kB / 0.7658 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5678, allocations: 91.34 kB / 0.7659 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.5678, allocations: 0 / 0.7659 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4128/0.9805, allocations: 8.853 MB / 0.7745 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/9.775, allocations: 7.719 kB / 0.7745 GB, free: 9.723 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)