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.007542/0.007542, allocations: 102.6 kB / 15.74 MB, free: 6.07 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.001746/0.001746, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8448/0.8448, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 58.19 kB / 0.5809 GB, free: 24.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1492, allocations: 80.21 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.5367/0.6859, allocations: 165.3 MB / 0.8206 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.6888, allocations: 1.556 MB / 0.8221 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.6891, allocations: 12.31 kB / 0.8221 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.6896, allocations: 142.6 kB / 0.8223 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.6911, allocations: 468.8 kB / 0.8227 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.6932, allocations: 0.7594 MB / 0.8234 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008623/0.694, allocations: 0.6972 MB / 0.8241 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.6945, allocations: 262.4 kB / 0.8244 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.695, allocations: 313 kB / 0.8247 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.6953, allocations: 228.2 kB / 0.8249 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.6953, allocations: 26.06 kB / 0.8249 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.6968, allocations: 0.8657 MB / 0.8258 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.6969, allocations: 113.2 kB / 0.8259 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.6971, allocations: 155 kB / 0.826 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.6982, allocations: 0.7506 MB / 0.8268 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6982, allocations: 7.938 kB / 0.8268 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6982, allocations: 2.75 kB / 0.8268 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.6982, allocations: 0 / 0.8268 GB, free: 3.512 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.001181/0.6994, allocations: 0.6899 MB / 0.8274 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6995, allocations: 10.25 kB / 0.8274 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/0.6995, allocations: 53.98 kB / 0.8275 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.7, allocations: 84.84 kB / 0.8276 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.7005, allocations: 317.7 kB / 0.8279 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.7005, allocations: 18.44 kB / 0.8279 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.7006, allocations: 26.55 kB / 0.8279 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.7012, allocations: 328.5 kB / 0.8282 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7012, allocations: 3.938 kB / 0.8282 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.7013, allocations: 10.88 kB / 0.8283 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.7013, allocations: 8.406 kB / 0.8283 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.702, allocations: 283.4 kB / 0.8285 GB, free: 2.145 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.001631/0.7036, allocations: 1.071 MB / 0.8296 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/0.7045, allocations: 327.5 kB / 0.8299 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.7048, allocations: 135.3 kB / 0.83 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/0.7055, allocations: 392.7 kB / 0.8304 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.7055, allocations: 30.56 kB / 0.8304 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.7056, allocations: 4 kB / 0.8304 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001211/0.7068, allocations: 417.1 kB / 0.8308 GB, free: 324 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.7068, allocations: 53.84 kB / 0.8309 GB, free: 260 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.7071, allocations: 265.8 kB / 0.8311 GB, free: 76 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.7071, allocations: 32.14 kB / 0.8312 GB, free: 40 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.7073, allocations: 166.9 kB / 0.8313 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.7074, allocations: 79.03 kB / 0.8314 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.7075, allocations: 43.05 kB / 0.8314 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.7077, allocations: 338.7 kB / 0.8318 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.708, allocations: 107.3 kB / 0.8319 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.7084, allocations: 158 kB / 0.832 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.709, allocations: 271.8 kB / 0.8323 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.709, allocations: 0 / 0.8323 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008144/0.7099, allocations: 322 kB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.7099, allocations: 11.62 kB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7099, allocations: 2.094 kB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7099, allocations: 2.25 kB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.7102, allocations: 56.95 kB / 0.8326 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7102, allocations: 6.062 kB / 0.8327 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.7105, allocations: 42.17 kB / 0.8327 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.7105, allocations: 7.75 kB / 0.8327 GB, free: 14.91 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.0001662/0.7107, allocations: 152.3 kB / 0.8328 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.7107, allocations: 32.62 kB / 0.8329 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/0.7115, allocations: 323 kB / 0.8332 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.7116, allocations: 6.781 kB / 0.8332 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7116, allocations: 0 / 0.8332 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7116, allocations: 0 / 0.8332 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.7131, allocations: 0.9233 MB / 0.8341 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7131, allocations: 2.125 kB / 0.8341 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.7133, allocations: 51.12 kB / 0.8341 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7134, allocations: 5.25 kB / 0.8342 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.7134, allocations: 6.938 kB / 0.8342 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.7134, allocations: 6.266 kB / 0.8342 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7134, allocations: 2.75 kB / 0.8342 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.7145, allocations: 0.5566 MB / 0.8347 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.7146, allocations: 134.6 kB / 0.8348 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.7147, allocations: 2.719 kB / 0.8348 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.7149, allocations: 24.34 kB / 0.8349 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.715, allocations: 19.08 kB / 0.8349 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.7151, allocations: 13.48 kB / 0.8349 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001779/0.7152, allocations: 193.9 kB / 0.8351 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7152, allocations: 0 / 0.8351 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004423/0.7157, allocations: 112.3 kB / 0.8352 GB, free: 13.04 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.001775/0.7175, allocations: 1.203 MB / 0.8364 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007081/0.7182, allocations: 255.5 kB / 0.8366 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7182, allocations: 0 / 0.8366 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.7186, allocations: 131.3 kB / 0.8367 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.7193, allocations: 137.7 kB / 0.8369 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.7236, allocations: 2.985 MB / 0.8398 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.724, allocations: 0.784 MB / 0.8405 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7242, allocations: 61.72 kB / 0.8406 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.7244, allocations: 93.41 kB / 0.8407 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.7244, allocations: 0 / 0.8407 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.7554, allocations: 8.933 MB / 0.8494 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.714, allocations: 8.469 kB / 0.8494 GB, free: 3.07 MB / 0.6075 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)