Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.008287/0.008287, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.001399/0.001399, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.901/1.901, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.035/1.035, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001919, allocations: 67.27 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2435, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.89/1.134, allocations: 174 MB / 0.8291 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0177/1.151, allocations: 9.507 MB / 0.8384 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/1.152, allocations: 11.16 kB / 0.8384 GB, free: 3.188 MB / 0.6387 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 (2) 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 (2) 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.001266/1.153, allocations: 196.7 kB / 0.8386 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0006972/1.154, allocations: 92.42 kB / 0.8387 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/1.155, allocations: 59.47 kB / 0.8387 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007662/1.155, allocations: 326.7 kB / 0.839 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/1.156, allocations: 154 kB / 0.8392 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/1.157, allocations: 159.2 kB / 0.8393 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/1.157, allocations: 102.2 kB / 0.8394 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/1.157, allocations: 17.09 kB / 0.8395 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/1.157, allocations: 19.41 kB / 0.8395 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/1.157, allocations: 35.81 kB / 0.8395 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/1.157, allocations: 102.8 kB / 0.8396 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/1.158, allocations: 216.1 kB / 0.8398 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.158, allocations: 1.969 kB / 0.8398 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/1.158, allocations: 0 / 0.8398 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.158, allocations: 0.9375 kB / 0.8398 GB, free: 3.137 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007568/1.159, allocations: 473.9 kB / 0.8403 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/1.159, allocations: 10.91 kB / 0.8403 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.812e-05/1.159, allocations: 56.25 kB / 0.8403 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/1.159, allocations: 24.23 kB / 0.8404 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/1.159, allocations: 266.5 kB / 0.8406 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/1.16, allocations: 16.56 kB / 0.8406 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/1.16, allocations: 19.38 kB / 0.8406 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/1.16, allocations: 230.7 kB / 0.8409 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.16, allocations: 1.375 kB / 0.8409 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.16, allocations: 13.52 kB / 0.8409 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.16, allocations: 5.5 kB / 0.8409 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/1.16, allocations: 86.8 kB / 0.841 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/1.162, allocations: 1.446 MB / 0.8424 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/1.162, allocations: 169.2 kB / 0.8425 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/1.162, allocations: 83.08 kB / 0.8426 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/1.162, allocations: 79.22 kB / 0.8427 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/1.162, allocations: 112.2 kB / 0.8428 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.806e-06/1.162, allocations: 0 / 0.8428 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001354/1.162, allocations: 48.5 kB / 0.8428 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/1.162, allocations: 128.8 kB / 0.843 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/1.163, allocations: 285.9 kB / 0.8432 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.163, allocations: 25.7 kB / 0.8433 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.163, allocations: 148 kB / 0.8434 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/1.163, allocations: 0 / 0.8434 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/1.163, allocations: 18.7 kB / 0.8434 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.163, allocations: 334.1 kB / 0.8437 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/1.163, allocations: 5.781 kB / 0.8438 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/1.163, allocations: 30.73 kB / 0.8438 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/1.164, allocations: 35.83 kB / 0.8438 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.164, allocations: 5.062 kB / 0.8438 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002197/1.164, allocations: 79.83 kB / 0.8439 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.164, allocations: 6.094 kB / 0.8439 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.164, allocations: 1.062 kB / 0.8439 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.164, allocations: 2.625 kB / 0.8439 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/1.164, allocations: 8.422 kB / 0.8439 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.164, allocations: 2.094 kB / 0.8439 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/1.164, allocations: 22.12 kB / 0.8439 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/1.164, allocations: 2 kB / 0.8439 GB, free: 15.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001859/1.164, allocations: 202.9 kB / 0.8441 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.164, allocations: 129.1 kB / 0.8443 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/1.165, allocations: 123 kB / 0.8444 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001124/1.165, allocations: 183.4 kB / 0.8445 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/1.165, allocations: 185.1 kB / 0.8447 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/1.165, allocations: 185.3 kB / 0.8449 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/1.165, allocations: 468.9 kB / 0.8453 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-05/1.165, allocations: 104.9 kB / 0.8454 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/1.166, allocations: 109.9 kB / 0.8456 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/1.166, allocations: 181.8 kB / 0.8457 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.166, allocations: 181.3 kB / 0.8459 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/1.166, allocations: 178.8 kB / 0.8461 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001013/1.166, allocations: 180.5 kB / 0.8462 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/1.166, allocations: 329.1 kB / 0.8466 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.166, allocations: 203.1 kB / 0.8467 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/1.167, allocations: 183.7 kB / 0.8469 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.167, allocations: 104.2 kB / 0.847 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.167, allocations: 185.3 kB / 0.8472 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/1.167, allocations: 103.3 kB / 0.8473 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003204/1.167, allocations: 206.1 kB / 0.8475 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/1.167, allocations: 1.156 kB / 0.8475 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000464/1.168, allocations: 26.55 kB / 0.8475 GB, free: 12.3 MB / 0.6544 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.0006398/1.168, allocations: 0.8314 MB / 0.8483 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.169, allocations: 14.98 kB / 0.8483 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.169, allocations: 0 / 0.8483 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/1.169, allocations: 1.281 kB / 0.8483 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/1.17, allocations: 0.5352 MB / 0.8489 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/1.173, allocations: 2.236 MB / 0.8511 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/1.174, allocations: 0.7208 MB / 0.8518 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001322/1.174, allocations: 22.22 kB / 0.8518 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/1.174, allocations: 57.25 kB / 0.8518 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of SimCode: time 1.824e-06/1.174, allocations: 2.219 kB / 0.8518 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/1.214, allocations: 4.669 MB / 0.8564 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14, allocations: 3.594 kB / 0.8564 GB, free: 8.418 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_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_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)