Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.004312/0.004312, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.001039/0.001039, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9077/0.9077, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 59.89 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3614, allocations: 80.92 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1444/0.5058, allocations: 147.9 MB / 0.8086 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004462/0.5103, allocations: 4.642 MB / 0.8132 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.5105, allocations: 11.94 kB / 0.8132 GB, free: 8.449 MB / 0.6387 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 (2) 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 (2) 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.0004795/0.511, allocations: 162.9 kB / 0.8133 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.5113, allocations: 83.44 kB / 0.8134 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.5114, allocations: 63.86 kB / 0.8135 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.5117, allocations: 302.6 kB / 0.8138 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.512, allocations: 114.7 kB / 0.8139 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.5121, allocations: 103.6 kB / 0.814 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.5123, allocations: 127.5 kB / 0.8141 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.5123, allocations: 16 kB / 0.8141 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.5123, allocations: 12 kB / 0.8141 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.5124, allocations: 23.92 kB / 0.8142 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.5125, allocations: 83.53 kB / 0.8142 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.5126, allocations: 164 kB / 0.8144 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5127, allocations: 0 / 0.8144 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5127, allocations: 0 / 0.8144 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5127, allocations: 0 / 0.8144 GB, free: 7.215 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003974/0.5131, allocations: 454.4 kB / 0.8148 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5131, allocations: 12.03 kB / 0.8148 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.5132, allocations: 54.67 kB / 0.8149 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.5132, allocations: 16.84 kB / 0.8149 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5135, allocations: 257.5 kB / 0.8152 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.5135, allocations: 12 kB / 0.8152 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.5136, allocations: 12 kB / 0.8152 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.5138, allocations: 212.7 kB / 0.8154 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5138, allocations: 8 kB / 0.8154 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5139, allocations: 4 kB / 0.8154 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5139, allocations: 4 kB / 0.8154 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.514, allocations: 71.78 kB / 0.8155 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.5149, allocations: 1.59 MB / 0.817 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/0.515, allocations: 169.2 kB / 0.8172 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.515, allocations: 80.14 kB / 0.8173 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.515, allocations: 79.28 kB / 0.8173 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.5151, allocations: 113.8 kB / 0.8174 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5151, allocations: 0 / 0.8174 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 7.763e-05/0.5152, allocations: 45.55 kB / 0.8175 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.5152, allocations: 126.7 kB / 0.8176 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5155, allocations: 258.6 kB / 0.8178 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.5155, allocations: 25.7 kB / 0.8179 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.5156, allocations: 135.9 kB / 0.818 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-06/0.5156, allocations: 4 kB / 0.818 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.5156, allocations: 33.61 kB / 0.818 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.5157, allocations: 326.8 kB / 0.8183 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.5157, allocations: 11.98 kB / 0.8184 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.5158, allocations: 42.02 kB / 0.8184 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.5159, allocations: 61.89 kB / 0.8185 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5159, allocations: 0 / 0.8185 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001461/0.516, allocations: 93.45 kB / 0.8185 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.516, allocations: 10.03 kB / 0.8186 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.516, allocations: 0 / 0.8186 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5161, allocations: 4 kB / 0.8186 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.5161, allocations: 11.94 kB / 0.8186 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5161, allocations: 4 kB / 0.8186 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.5162, allocations: 19.84 kB / 0.8186 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.5162, allocations: 4 kB / 0.8186 GB, free: 2.547 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001007/0.5163, allocations: 213.2 kB / 0.8188 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.5164, allocations: 120.8 kB / 0.8189 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.5165, allocations: 121.8 kB / 0.819 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/0.5165, allocations: 176.3 kB / 0.8192 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.051e-05/0.5166, allocations: 184.1 kB / 0.8194 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-05/0.5166, allocations: 180.3 kB / 0.8195 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.5169, allocations: 465 kB / 0.82 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.5169, allocations: 105 kB / 0.8201 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.5169, allocations: 101 kB / 0.8202 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.985e-05/0.517, allocations: 184.2 kB / 0.8204 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.5171, allocations: 184.2 kB / 0.8205 GB, free: 440 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-05/0.5171, allocations: 184.2 kB / 0.8207 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.982e-05/0.5172, allocations: 180.3 kB / 0.8209 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.5173, allocations: 331.5 kB / 0.8212 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.5174, allocations: 194 kB / 0.8214 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.5175, allocations: 188.2 kB / 0.8216 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.5176, allocations: 105 kB / 0.8217 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.5176, allocations: 176.3 kB / 0.8218 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.5177, allocations: 104.9 kB / 0.8219 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001445/0.5178, allocations: 182 kB / 0.8221 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5178, allocations: 0 / 0.8221 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002567/0.5181, allocations: 20 kB / 0.8221 GB, free: 14.71 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.0003229/0.5184, allocations: 0.8333 MB / 0.8229 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.5185, allocations: 24.23 kB / 0.823 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5185, allocations: 448 / 0.823 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.5185, allocations: 7.984 kB / 0.823 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.5191, allocations: 0.5041 MB / 0.8235 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.5208, allocations: 2.039 MB / 0.8255 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.521, allocations: 0.7163 MB / 0.8262 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.5211, allocations: 13.55 kB / 0.8262 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.5212, allocations: 43.42 kB / 0.8262 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.5212, allocations: 4 kB / 0.8262 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.5393, allocations: 3.563 MB / 0.8297 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.692, allocations: 9.891 kB / 0.8297 GB, free: 6.887 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)