Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.006833/0.006833, allocations: 101 kB / 15.73 MB, free: 6.055 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.001521/0.001521, allocations: 190.3 kB / 16.67 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.959/1.959, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.059/1.059, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 65.34 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2455, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9303/1.176, allocations: 174 MB / 0.8292 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01718/1.193, allocations: 9.509 MB / 0.8385 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/1.194, allocations: 11.53 kB / 0.8385 GB, free: 8.84 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00113/1.195, allocations: 189.2 kB / 0.8387 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006353/1.196, allocations: 95.84 kB / 0.8388 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/1.196, allocations: 65.83 kB / 0.8388 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008167/1.197, allocations: 326.2 kB / 0.8391 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/1.198, allocations: 204 kB / 0.8393 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/1.198, allocations: 169.9 kB / 0.8395 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/1.198, allocations: 121.3 kB / 0.8396 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/1.198, allocations: 22.59 kB / 0.8396 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/1.198, allocations: 20.16 kB / 0.8396 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/1.199, allocations: 82.47 kB / 0.8397 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/1.199, allocations: 123.3 kB / 0.8398 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/1.199, allocations: 294.7 kB / 0.8401 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.199, allocations: 0 / 0.8401 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/1.199, allocations: 0 / 0.8401 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.199, allocations: 0 / 0.8401 GB, free: 7.711 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008829/1.2, allocations: 0.5218 MB / 0.8406 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.2, allocations: 10 kB / 0.8406 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/1.2, allocations: 70.16 kB / 0.8407 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/1.201, allocations: 35.53 kB / 0.8407 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/1.201, allocations: 264.7 kB / 0.841 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/1.201, allocations: 21.91 kB / 0.841 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/1.201, allocations: 25.94 kB / 0.841 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/1.202, allocations: 323.1 kB / 0.8413 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.202, allocations: 0 / 0.8413 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/1.202, allocations: 16.38 kB / 0.8414 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/1.202, allocations: 12.19 kB / 0.8414 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/1.202, allocations: 141.9 kB / 0.8415 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/1.205, allocations: 1.825 MB / 0.8433 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/1.205, allocations: 175.4 kB / 0.8435 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/1.205, allocations: 88.12 kB / 0.8435 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/1.205, allocations: 79.28 kB / 0.8436 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/1.205, allocations: 108.2 kB / 0.8437 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/1.205, allocations: 0 / 0.8437 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001495/1.205, allocations: 57.58 kB / 0.8438 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/1.205, allocations: 126.7 kB / 0.8439 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/1.206, allocations: 373.3 kB / 0.8443 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/1.206, allocations: 25.7 kB / 0.8443 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.206, allocations: 171.5 kB / 0.8444 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/1.206, allocations: 0 / 0.8444 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/1.206, allocations: 22.58 kB / 0.8445 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.206, allocations: 336.1 kB / 0.8448 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/1.206, allocations: 2.719 kB / 0.8448 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/1.206, allocations: 35.14 kB / 0.8448 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/1.207, allocations: 49.81 kB / 0.8449 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.207, allocations: 3.938 kB / 0.8449 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001802/1.208, allocations: 94.25 kB / 0.845 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.208, allocations: 4.906 kB / 0.845 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.208, allocations: 0 / 0.845 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.208, allocations: 2.25 kB / 0.845 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/1.209, allocations: 7.75 kB / 0.845 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.209, allocations: 2.125 kB / 0.845 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/1.209, allocations: 29.58 kB / 0.845 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/1.209, allocations: 8.719 kB / 0.845 GB, free: 3.113 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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.0002311/1.209, allocations: 213.4 kB / 0.8452 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.209, allocations: 129 kB / 0.8453 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/1.209, allocations: 133.7 kB / 0.8455 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/1.209, allocations: 180.3 kB / 0.8456 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001174/1.21, allocations: 178.3 kB / 0.8458 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.21, allocations: 180.2 kB / 0.846 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/1.21, allocations: 497 kB / 0.8465 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-05/1.21, allocations: 108.9 kB / 0.8466 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/1.21, allocations: 103.9 kB / 0.8467 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/1.211, allocations: 176.3 kB / 0.8468 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/1.211, allocations: 188.5 kB / 0.847 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001067/1.211, allocations: 192.1 kB / 0.8472 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001126/1.211, allocations: 184.2 kB / 0.8474 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/1.211, allocations: 338.6 kB / 0.8477 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/1.211, allocations: 215.9 kB / 0.8479 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.212, allocations: 176.3 kB / 0.8481 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.212, allocations: 111.4 kB / 0.8482 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.212, allocations: 180.2 kB / 0.8483 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/1.212, allocations: 101 kB / 0.8484 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004661/1.213, allocations: 276.7 kB / 0.8487 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/1.213, allocations: 0 / 0.8487 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004701/1.213, allocations: 29.84 kB / 0.8487 GB, free: 15.3 MB / 0.6231 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 (0): * Single equations (assignments): 0 * 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.000755/1.214, allocations: 0.8418 MB / 0.8496 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001243/1.214, allocations: 13.41 kB / 0.8496 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.214, allocations: 0 / 0.8496 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/1.214, allocations: 0 / 0.8496 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.215, allocations: 0.5493 MB / 0.8501 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/1.22, allocations: 2.691 MB / 0.8527 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/1.221, allocations: 0.7554 MB / 0.8535 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002115/1.221, allocations: 32.88 kB / 0.8535 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/1.221, allocations: 75.69 kB / 0.8536 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/1.221, allocations: 3.938 kB / 0.8536 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04607/1.268, allocations: 5.904 MB / 0.8593 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.32, allocations: 11.77 kB / 0.8594 GB, free: 8.242 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)