Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_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.0009567/0.0009566, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009658/0.0009658, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.182/1.182, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9251/0.9251, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.06 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 80.94 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3694/0.5075, allocations: 171.7 MB / 0.7517 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007465/0.515, allocations: 9.438 MB / 0.7609 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.5151, allocations: 11.94 kB / 0.7609 GB, free: 8.098 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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-master/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.0004412/0.5156, allocations: 159.1 kB / 0.7611 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.5158, allocations: 87.42 kB / 0.7611 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.5159, allocations: 51.97 kB / 0.7612 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.5162, allocations: 334.6 kB / 0.7615 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.5165, allocations: 212.2 kB / 0.7617 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.5168, allocations: 163.4 kB / 0.7619 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.5169, allocations: 119.5 kB / 0.762 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.517, allocations: 24 kB / 0.762 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.078e-05/0.517, allocations: 23.94 kB / 0.762 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.5171, allocations: 75.75 kB / 0.7621 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.5172, allocations: 127.4 kB / 0.7622 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.5174, allocations: 283 kB / 0.7625 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.5174, allocations: 0 / 0.7625 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5174, allocations: 0 / 0.7625 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5174, allocations: 4 kB / 0.7625 GB, free: 6.473 MB / 0.5762 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.0004208/0.5179, allocations: 0.5106 MB / 0.763 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.5179, allocations: 8.031 kB / 0.763 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.518, allocations: 62.53 kB / 0.7631 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.518, allocations: 35.66 kB / 0.7631 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.5183, allocations: 265.1 kB / 0.7633 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5183, allocations: 20.56 kB / 0.7634 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.5183, allocations: 28 kB / 0.7634 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.5187, allocations: 324 kB / 0.7637 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5187, allocations: 0 / 0.7637 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.5187, allocations: 15.94 kB / 0.7637 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.5188, allocations: 11.94 kB / 0.7637 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.519, allocations: 143.7 kB / 0.7639 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5201, allocations: 1.812 MB / 0.7656 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.5201, allocations: 173.1 kB / 0.7658 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.5202, allocations: 80.14 kB / 0.7659 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.5202, allocations: 79.22 kB / 0.7659 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.5202, allocations: 109.8 kB / 0.7661 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5202, allocations: 0 / 0.7661 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.204e-05/0.5203, allocations: 61.27 kB / 0.7661 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.5204, allocations: 126.7 kB / 0.7662 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.5207, allocations: 373.7 kB / 0.7666 GB, free: 2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.5207, allocations: 29.7 kB / 0.7666 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.5208, allocations: 167.8 kB / 0.7668 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.5208, allocations: 0 / 0.7668 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.5209, allocations: 21.72 kB / 0.7668 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.521, allocations: 330.8 kB / 0.7671 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.521, allocations: 11.98 kB / 0.7671 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.521, allocations: 32.3 kB / 0.7672 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.5211, allocations: 48.17 kB / 0.7672 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5211, allocations: 10.94 kB / 0.7672 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.5212, allocations: 81.28 kB / 0.7673 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5212, allocations: 8 kB / 0.7673 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.5213, allocations: 0 / 0.7673 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.5213, allocations: 0 / 0.7673 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.5213, allocations: 15.92 kB / 0.7673 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5213, allocations: 4 kB / 0.7673 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.5214, allocations: 27.59 kB / 0.7673 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.5214, allocations: 160 / 0.7673 GB, free: 1.168 MB / 0.5762 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.0001148/0.5215, allocations: 225 kB / 0.7676 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.5216, allocations: 124.7 kB / 0.7677 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.5217, allocations: 131 kB / 0.7678 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.5217, allocations: 184.2 kB / 0.768 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.509e-05/0.5218, allocations: 192.2 kB / 0.7682 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/0.5218, allocations: 180.4 kB / 0.7683 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.5221, allocations: 497.1 kB / 0.7688 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/0.5222, allocations: 104.9 kB / 0.7689 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.5222, allocations: 101 kB / 0.769 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.414e-05/0.5222, allocations: 180.2 kB / 0.7692 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.5223, allocations: 188.2 kB / 0.7694 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.911e-05/0.5224, allocations: 176.3 kB / 0.7695 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-05/0.5224, allocations: 184.2 kB / 0.7697 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.5225, allocations: 335.3 kB / 0.77 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.5226, allocations: 205.8 kB / 0.7702 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.5227, allocations: 180.3 kB / 0.7704 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.5228, allocations: 116 kB / 0.7705 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.5229, allocations: 180.3 kB / 0.7707 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.5229, allocations: 104.9 kB / 0.7708 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002255/0.5231, allocations: 271.1 kB / 0.771 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5231, allocations: 0 / 0.771 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000231/0.5234, allocations: 35.94 kB / 0.7711 GB, free: 13.13 MB / 0.5919 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.0003042/0.5237, allocations: 0.8357 MB / 0.7719 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.319e-05/0.5238, allocations: 15.94 kB / 0.7719 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5238, allocations: 320 / 0.7719 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.5238, allocations: 7.984 kB / 0.7719 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.5245, allocations: 0.5415 MB / 0.7724 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5268, allocations: 2.75 MB / 0.7751 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.5271, allocations: 0.7558 MB / 0.7759 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.501e-05/0.5272, allocations: 34.95 kB / 0.7759 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.5273, allocations: 73.94 kB / 0.776 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.5273, allocations: 0 / 0.776 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5186/1.046, allocations: 5.734 MB / 0.7816 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/1.046, allocations: 217.7 kB / 0.7818 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.838, allocations: 0 / 0.7818 GB, free: 2.191 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)