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.001192/0.001192, 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.001329/0.001329, allocations: 193 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.1 MB / 425.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.7 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1761, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.4911/0.6673, allocations: 165.2 MB / 0.7458 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.6709, allocations: 1.555 MB / 0.7474 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006513/0.6716, allocations: 9.438 kB / 0.7474 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007957/0.6724, allocations: 147.4 kB / 0.7475 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.6747, allocations: 471.8 kB / 0.748 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.6771, allocations: 0.748 MB / 0.7487 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.6784, allocations: 0.6947 MB / 0.7494 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.679, allocations: 275.4 kB / 0.7496 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007779/0.6798, allocations: 306.8 kB / 0.7499 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.6803, allocations: 226.5 kB / 0.7501 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.6803, allocations: 25.72 kB / 0.7502 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.6823, allocations: 0.8711 MB / 0.751 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.6825, allocations: 107.5 kB / 0.7511 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.6827, allocations: 158 kB / 0.7513 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.6845, allocations: 0.7352 MB / 0.752 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6845, allocations: 0 / 0.752 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6845, allocations: 0 / 0.752 GB, free: 480 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.6845, allocations: 10.91 kB / 0.752 GB, free: 472 kB / 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.001566/0.6861, allocations: 0.6753 MB / 0.7527 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6862, allocations: 14.59 kB / 0.7527 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.6863, allocations: 58.67 kB / 0.7527 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.6869, allocations: 87.38 kB / 0.7528 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.6874, allocations: 297.7 kB / 0.7531 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6874, allocations: 18.56 kB / 0.7531 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.6874, allocations: 24.12 kB / 0.7531 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.6882, allocations: 336.2 kB / 0.7534 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6882, allocations: 0 / 0.7534 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.6882, allocations: 11.12 kB / 0.7535 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.6883, allocations: 5.531 kB / 0.7535 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.689, allocations: 285.6 kB / 0.7537 GB, free: 15.12 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.001793/0.6908, allocations: 1.079 MB / 0.7548 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/0.6918, allocations: 315.7 kB / 0.7551 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.6921, allocations: 143.9 kB / 0.7552 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/0.6928, allocations: 392.3 kB / 0.7556 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6929, allocations: 46.5 kB / 0.7556 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.6929, allocations: 0 / 0.7556 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001305/0.6942, allocations: 403.3 kB / 0.756 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.6943, allocations: 55.41 kB / 0.7561 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.6946, allocations: 267 kB / 0.7563 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.6946, allocations: 29.7 kB / 0.7564 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6948, allocations: 176 kB / 0.7565 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.6948, allocations: 59.11 kB / 0.7566 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6949, allocations: 45.7 kB / 0.7566 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6951, allocations: 338.8 kB / 0.757 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.6954, allocations: 107.8 kB / 0.7571 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.6958, allocations: 164.5 kB / 0.7572 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.6965, allocations: 267.3 kB / 0.7575 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6965, allocations: 0 / 0.7575 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007844/0.6973, allocations: 321 kB / 0.7578 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6973, allocations: 4 kB / 0.7578 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.6973, allocations: 7.938 kB / 0.7578 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6973, allocations: 0 / 0.7578 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.6976, allocations: 59.89 kB / 0.7578 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6977, allocations: 0 / 0.7578 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.6979, allocations: 35.81 kB / 0.7579 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.698, allocations: 12.09 kB / 0.7579 GB, free: 10.82 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.0001777/0.6982, allocations: 163 kB / 0.758 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.6982, allocations: 27.62 kB / 0.7581 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.699, allocations: 321.1 kB / 0.7584 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.699, allocations: 7.938 kB / 0.7584 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6991, allocations: 0 / 0.7584 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6991, allocations: 3.938 kB / 0.7584 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.7007, allocations: 0.929 MB / 0.7593 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7008, allocations: 4 kB / 0.7593 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.701, allocations: 46.16 kB / 0.7593 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.701, allocations: 8.047 kB / 0.7594 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.7011, allocations: 15.97 kB / 0.7594 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.7011, allocations: 7.938 kB / 0.7594 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7011, allocations: 3.938 kB / 0.7594 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.7022, allocations: 0.5508 MB / 0.7599 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7024, allocations: 124.7 kB / 0.76 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.7024, allocations: 8 kB / 0.76 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.7027, allocations: 23.97 kB / 0.7601 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.7027, allocations: 23.86 kB / 0.7601 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.7028, allocations: 11.98 kB / 0.7601 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001921/0.703, allocations: 194 kB / 0.7603 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.81e-07/0.703, allocations: 4.062 kB / 0.7603 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005027/0.7035, allocations: 107.9 kB / 0.7604 GB, free: 8.082 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.001923/0.7054, allocations: 1.191 MB / 0.7616 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007904/0.7062, allocations: 263.9 kB / 0.7618 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7062, allocations: 0 / 0.7618 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.7066, allocations: 139.8 kB / 0.7619 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.7075, allocations: 134.4 kB / 0.7621 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.7125, allocations: 2.957 MB / 0.765 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.713, allocations: 0.7831 MB / 0.7657 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002813/0.7133, allocations: 75.56 kB / 0.7658 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.7135, allocations: 95.41 kB / 0.7659 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.7135, allocations: 0 / 0.7659 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.749, allocations: 8.838 MB / 0.7745 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.418, allocations: 8.375 kB / 0.7745 GB, free: 9.625 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)