Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001349/0.001349, 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.001487/0.001487, allocations: 194.1 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 65.19 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1773, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.004331/0.1817, allocations: 1.632 MB / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4246/0.6064, allocations: 149.7 MB / 0.7322 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.6065, allocations: 1.312 kB / 0.7322 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.6067, allocations: 30.14 kB / 0.7323 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.6069, allocations: 44.42 kB / 0.7323 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.6074, allocations: 190.2 kB / 0.7325 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.6076, allocations: 155 kB / 0.7326 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.6078, allocations: 31.36 kB / 0.7327 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.6089, allocations: 183.4 kB / 0.7328 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.609, allocations: 59.39 kB / 0.7329 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.609, allocations: 9.188 kB / 0.7329 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.6094, allocations: 162.2 kB / 0.7331 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.6094, allocations: 25.92 kB / 0.7331 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.6095, allocations: 49.69 kB / 0.7331 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.6098, allocations: 194.7 kB / 0.7333 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6098, allocations: 1 kB / 0.7333 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6099, allocations: 4 kB / 0.7333 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.6099, allocations: 0 / 0.7333 GB, free: 14.42 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008279/0.6107, allocations: 463.9 kB / 0.7338 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6107, allocations: 13.62 kB / 0.7338 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.6108, allocations: 42.02 kB / 0.7338 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006107/0.6114, allocations: 51.14 kB / 0.7339 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.6116, allocations: 204 kB / 0.7341 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6116, allocations: 7.812 kB / 0.7341 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.6117, allocations: 4.625 kB / 0.7341 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.6121, allocations: 190 kB / 0.7343 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6121, allocations: 1.562 kB / 0.7343 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.6122, allocations: 5.312 kB / 0.7343 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6122, allocations: 1.312 kB / 0.7343 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.6127, allocations: 148.8 kB / 0.7344 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6138, allocations: 0.8257 MB / 0.7352 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.6142, allocations: 133.7 kB / 0.7353 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.6145, allocations: 81.25 kB / 0.7354 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.6145, allocations: 5.219 kB / 0.7354 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.6146, allocations: 32.44 kB / 0.7355 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.6146, allocations: 0 / 0.7355 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001916/0.6165, allocations: 453 kB / 0.7359 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6165, allocations: 57.55 kB / 0.7359 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6167, allocations: 149.5 kB / 0.7361 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.6167, allocations: 25.7 kB / 0.7361 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.6168, allocations: 110 kB / 0.7362 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.6168, allocations: 27.25 kB / 0.7362 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.6169, allocations: 33.48 kB / 0.7363 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.617, allocations: 319.8 kB / 0.7366 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.6173, allocations: 73.72 kB / 0.7367 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.6176, allocations: 97.61 kB / 0.7367 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.6181, allocations: 180.2 kB / 0.7369 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6181, allocations: 1.25 kB / 0.7369 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001069/0.6192, allocations: 278.7 kB / 0.7372 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6192, allocations: 8.531 kB / 0.7372 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6192, allocations: 5.125 kB / 0.7372 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.6198, allocations: 86.81 kB / 0.7373 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.62, allocations: 36.53 kB / 0.7373 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.6223, allocations: 1.667 MB / 0.7389 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.6225, allocations: 24.47 kB / 0.739 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.6226, allocations: 7.75 kB / 0.739 GB, free: 10 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.6227, allocations: 127 kB / 0.7391 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.6227, allocations: 8.375 kB / 0.7391 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.6239, allocations: 317 kB / 0.7394 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6239, allocations: 4.656 kB / 0.7394 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6239, allocations: 1.062 kB / 0.7394 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6239, allocations: 2.297 kB / 0.7394 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.6242, allocations: 235.1 kB / 0.7396 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6243, allocations: 3.938 kB / 0.7396 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.6245, allocations: 33.52 kB / 0.7397 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.625, allocations: 80.97 kB / 0.7397 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.625, allocations: 6.188 kB / 0.7398 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.6269, allocations: 1.686 MB / 0.7414 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6269, allocations: 0 / 0.7414 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.628, allocations: 376.3 kB / 0.7418 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.628, allocations: 90.3 kB / 0.7418 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.6281, allocations: 0 / 0.7418 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.6283, allocations: 25.64 kB / 0.7419 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.6284, allocations: 12.27 kB / 0.7419 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.6284, allocations: 5.453 kB / 0.7419 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.671e-05/0.6285, allocations: 105.9 kB / 0.742 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6285, allocations: 0 / 0.742 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003811/0.6289, allocations: 47.59 kB / 0.742 GB, free: 7.543 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.6303, allocations: 0.9184 MB / 0.7429 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.6312, allocations: 315 kB / 0.7432 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6312, allocations: 5.062 kB / 0.7432 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/0.6318, allocations: 238.9 kB / 0.7435 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.6321, allocations: 24.67 kB / 0.7435 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.636, allocations: 2.035 MB / 0.7455 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.6363, allocations: 0.7066 MB / 0.7462 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.6365, allocations: 32.25 kB / 0.7462 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.6366, allocations: 44 kB / 0.7462 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.6366, allocations: 0 / 0.7462 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.6617, allocations: 4.648 MB / 0.7508 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.83, allocations: 4.859 kB / 0.7508 GB, free: 1.555 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)