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.006518/0.006518, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001266/0.001266, allocations: 204.7 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9791/0.9791, allocations: 135.5 MB / 426.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4098, allocations: 81.04 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1917/0.6016, allocations: 165.3 MB / 0.8263 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.605, allocations: 1.561 MB / 0.8278 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.6056, allocations: 11.94 kB / 0.8278 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.6062, allocations: 146.9 kB / 0.8279 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.6077, allocations: 465.8 kB / 0.8284 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.6099, allocations: 0.7584 MB / 0.8291 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.6109, allocations: 0.7059 MB / 0.8298 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.6115, allocations: 258.7 kB / 0.8301 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007572/0.6123, allocations: 314.8 kB / 0.8304 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.6127, allocations: 215.1 kB / 0.8306 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.6128, allocations: 24 kB / 0.8306 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.6145, allocations: 0.8769 MB / 0.8315 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.6147, allocations: 115.7 kB / 0.8316 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.6149, allocations: 151.3 kB / 0.8317 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.6164, allocations: 0.7641 MB / 0.8325 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6164, allocations: 0 / 0.8325 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.827e-06/0.6164, allocations: 4 kB / 0.8325 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.6165, allocations: 0 / 0.8325 GB, free: 4.672 MB / 0.6544 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.001316/0.6178, allocations: 0.681 MB / 0.8331 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6178, allocations: 12.03 kB / 0.8331 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.262e-05/0.6179, allocations: 58.55 kB / 0.8332 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.6184, allocations: 79.73 kB / 0.8333 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.6189, allocations: 322 kB / 0.8336 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.619, allocations: 16.56 kB / 0.8336 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.619, allocations: 24 kB / 0.8336 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.6197, allocations: 336.1 kB / 0.8339 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6198, allocations: 3.938 kB / 0.8339 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.6198, allocations: 12 kB / 0.8339 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.6198, allocations: 4 kB / 0.8339 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/0.6206, allocations: 281.5 kB / 0.8342 GB, free: 2.754 MB / 0.6544 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.001747/0.6223, allocations: 1.067 MB / 0.8353 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.6233, allocations: 327.7 kB / 0.8356 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.6236, allocations: 132.8 kB / 0.8357 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007168/0.6244, allocations: 396.3 kB / 0.8361 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.6244, allocations: 46.36 kB / 0.8361 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.6244, allocations: 0 / 0.8361 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001273/0.6257, allocations: 407.3 kB / 0.8365 GB, free: 228 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.6257, allocations: 55.34 kB / 0.8366 GB, free: 160 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.626, allocations: 271 kB / 0.8368 GB, free: 15.88 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.6261, allocations: 29.7 kB / 0.8368 GB, free: 15.85 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6262, allocations: 172.3 kB / 0.837 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.6263, allocations: 71.39 kB / 0.8371 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.6264, allocations: 41.7 kB / 0.8371 GB, free: 15.56 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6266, allocations: 338.8 kB / 0.8374 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.6269, allocations: 103.9 kB / 0.8375 GB, free: 15.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.6273, allocations: 167.3 kB / 0.8377 GB, free: 14.93 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.6279, allocations: 267.2 kB / 0.838 GB, free: 14.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6279, allocations: 0 / 0.838 GB, free: 14.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007938/0.6287, allocations: 317.1 kB / 0.8383 GB, free: 14.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6288, allocations: 8 kB / 0.8383 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6288, allocations: 0 / 0.8383 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.6288, allocations: 4 kB / 0.8383 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.6291, allocations: 59.89 kB / 0.8383 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6291, allocations: 8.141 kB / 0.8383 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.6294, allocations: 47.75 kB / 0.8384 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.6294, allocations: 8 kB / 0.8384 GB, free: 14.21 MB / 0.67 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.0001675/0.6296, allocations: 153.8 kB / 0.8385 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.6296, allocations: 31.75 kB / 0.8386 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.6305, allocations: 314 kB / 0.8389 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6305, allocations: 0 / 0.8389 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.6305, allocations: 4.062 kB / 0.8389 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.6305, allocations: 7.984 kB / 0.8389 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.6321, allocations: 0.9251 MB / 0.8398 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6321, allocations: 8.188 kB / 0.8398 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.6324, allocations: 51.91 kB / 0.8398 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6324, allocations: 0 / 0.8398 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.6324, allocations: 4 kB / 0.8398 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6324, allocations: 4 kB / 0.8398 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6325, allocations: 3.984 kB / 0.8398 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.6336, allocations: 0.5665 MB / 0.8404 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.6338, allocations: 128.8 kB / 0.8405 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.6338, allocations: 0 / 0.8405 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.6341, allocations: 23.97 kB / 0.8405 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.6341, allocations: 23.92 kB / 0.8406 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.6342, allocations: 12.06 kB / 0.8406 GB, free: 11.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002016/0.6344, allocations: 201.9 kB / 0.8408 GB, free: 11.59 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6344, allocations: 3.938 kB / 0.8408 GB, free: 11.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004889/0.6349, allocations: 103.8 kB / 0.8409 GB, free: 11.48 MB / 0.67 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.001934/0.6368, allocations: 1.193 MB / 0.842 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007922/0.6376, allocations: 257.9 kB / 0.8423 GB, free: 10 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6377, allocations: 0 / 0.8423 GB, free: 10 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.638, allocations: 140.5 kB / 0.8424 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/0.6388, allocations: 127.8 kB / 0.8425 GB, free: 9.746 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.6434, allocations: 2.969 MB / 0.8454 GB, free: 6.645 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.6438, allocations: 0.7909 MB / 0.8462 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.644, allocations: 62.19 kB / 0.8463 GB, free: 5.766 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.6442, allocations: 91.41 kB / 0.8464 GB, free: 5.676 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.6442, allocations: 0 / 0.8464 GB, free: 5.676 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.6801, allocations: 8.939 MB / 0.8551 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.903, allocations: 4.062 kB / 0.8551 GB, free: 12.9 MB / 0.6856 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)