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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_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.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001205/0.001205, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7403/0.7403, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.16 kB / 0.5012 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3752, allocations: 80.21 MB / 0.5795 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1664/0.5416, allocations: 163 MB / 0.7387 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.5441, allocations: 1.578 MB / 0.7402 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.5443, allocations: 11.94 kB / 0.7402 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.5447, allocations: 107.3 kB / 0.7404 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009608/0.5457, allocations: 446.2 kB / 0.7408 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.5472, allocations: 0.6841 MB / 0.7414 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.548, allocations: 0.9944 MB / 0.7424 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.5483, allocations: 230 kB / 0.7426 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.5487, allocations: 270.9 kB / 0.7429 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.549, allocations: 246.9 kB / 0.7431 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.549, allocations: 12 kB / 0.7431 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.5505, allocations: 0.9859 MB / 0.7441 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5506, allocations: 107.7 kB / 0.7442 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.5507, allocations: 151.2 kB / 0.7444 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009537/0.5517, allocations: 0.7674 MB / 0.7451 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5517, allocations: 4 kB / 0.7451 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5517, allocations: 0 / 0.7451 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5517, allocations: 0 / 0.7451 GB, free: 7.613 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.001048/0.5528, allocations: 0.6702 MB / 0.7458 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5528, allocations: 8.031 kB / 0.7458 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.5529, allocations: 58.53 kB / 0.7458 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005047/0.5534, allocations: 91.39 kB / 0.7459 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.5538, allocations: 297.9 kB / 0.7462 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5538, allocations: 20.56 kB / 0.7462 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.5539, allocations: 28 kB / 0.7462 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.5545, allocations: 332.2 kB / 0.7466 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5545, allocations: 0 / 0.7466 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.5546, allocations: 12 kB / 0.7466 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5546, allocations: 4 kB / 0.7466 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007233/0.5553, allocations: 285.5 kB / 0.7468 GB, free: 5.723 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.001552/0.5569, allocations: 1.075 MB / 0.7479 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009612/0.5579, allocations: 327.6 kB / 0.7482 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.5582, allocations: 140.8 kB / 0.7483 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.559, allocations: 392.3 kB / 0.7487 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.559, allocations: 38.5 kB / 0.7488 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.559, allocations: 0 / 0.7488 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001273/0.5603, allocations: 407.3 kB / 0.7491 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5603, allocations: 55.34 kB / 0.7492 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.5606, allocations: 267 kB / 0.7494 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5606, allocations: 29.7 kB / 0.7495 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.5608, allocations: 172.1 kB / 0.7496 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.5608, allocations: 71.09 kB / 0.7497 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.5609, allocations: 41.7 kB / 0.7497 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5611, allocations: 338.8 kB / 0.7501 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.5614, allocations: 99.91 kB / 0.7502 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.5617, allocations: 165.9 kB / 0.7503 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.5623, allocations: 269.6 kB / 0.7506 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5623, allocations: 0 / 0.7506 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007284/0.5631, allocations: 322.9 kB / 0.7509 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5631, allocations: 13.66 kB / 0.7509 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5631, allocations: 0 / 0.7509 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5631, allocations: 4 kB / 0.7509 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.5634, allocations: 55.95 kB / 0.751 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5634, allocations: 8.156 kB / 0.751 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.5637, allocations: 39.69 kB / 0.751 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.5638, allocations: 15.98 kB / 0.751 GB, free: 1.172 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.0001506/0.5639, allocations: 147.4 kB / 0.7512 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.564, allocations: 31.56 kB / 0.7512 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/0.5648, allocations: 321.8 kB / 0.7515 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5648, allocations: 4 kB / 0.7515 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5648, allocations: 0 / 0.7515 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5648, allocations: 0 / 0.7515 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.5663, allocations: 0.9329 MB / 0.7524 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5664, allocations: 0 / 0.7524 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.5666, allocations: 47.95 kB / 0.7525 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5666, allocations: 4 kB / 0.7525 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.5667, allocations: 8 kB / 0.7525 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5667, allocations: 8 kB / 0.7525 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5667, allocations: 4 kB / 0.7525 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5677, allocations: 0.5548 MB / 0.753 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5679, allocations: 128.7 kB / 0.7531 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.5679, allocations: 8 kB / 0.7532 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.5682, allocations: 32.03 kB / 0.7532 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.5682, allocations: 23.91 kB / 0.7532 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5683, allocations: 8 kB / 0.7532 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001595/0.5684, allocations: 193.9 kB / 0.7534 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5684, allocations: 0 / 0.7534 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004476/0.5689, allocations: 107.8 kB / 0.7535 GB, free: 14.45 MB / 0.5919 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.001624/0.5705, allocations: 1.208 MB / 0.7547 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000681/0.5712, allocations: 251.7 kB / 0.7549 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5712, allocations: 320 / 0.7549 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.5716, allocations: 139.8 kB / 0.7551 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.5723, allocations: 120.9 kB / 0.7552 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.5763, allocations: 3.059 MB / 0.7582 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5766, allocations: 0.787 MB / 0.7589 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.5769, allocations: 58.27 kB / 0.759 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.577, allocations: 91.39 kB / 0.7591 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.577, allocations: 0 / 0.7591 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.5968, allocations: 8.372 MB / 0.7672 GB, free: 412 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.597, allocations: 228.2 kB / 0.7675 GB, free: 152 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.468, allocations: 0 / 0.7675 GB, free: 152 kB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)