Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 152 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.001092/0.001092, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7379/0.7379, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 69.33 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 80.19 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1415/0.4595, allocations: 148 MB / 0.7247 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004505/0.4641, allocations: 4.65 MB / 0.7293 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.4643, allocations: 11.94 kB / 0.7293 GB, free: 8.375 MB / 0.5606 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.000438/0.4648, allocations: 166.8 kB / 0.7294 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.4651, allocations: 87.44 kB / 0.7295 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.4653, allocations: 59.92 kB / 0.7296 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.4656, allocations: 306.8 kB / 0.7299 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.4659, allocations: 147.6 kB / 0.73 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.466, allocations: 111.6 kB / 0.7301 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.4662, allocations: 147.4 kB / 0.7303 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.4663, allocations: 16 kB / 0.7303 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.4663, allocations: 16 kB / 0.7303 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.4664, allocations: 67.81 kB / 0.7304 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.4665, allocations: 107.4 kB / 0.7305 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4667, allocations: 225.5 kB / 0.7307 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4667, allocations: 4 kB / 0.7307 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4667, allocations: 4 kB / 0.7307 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4667, allocations: 0 / 0.7307 GB, free: 6.934 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004148/0.4672, allocations: 487.1 kB / 0.7311 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4672, allocations: 12.03 kB / 0.7312 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.4672, allocations: 58.72 kB / 0.7312 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.4673, allocations: 24.66 kB / 0.7312 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4675, allocations: 259.8 kB / 0.7315 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4676, allocations: 20.56 kB / 0.7315 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4676, allocations: 20 kB / 0.7315 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.468, allocations: 304.9 kB / 0.7318 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.468, allocations: 4 kB / 0.7318 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.468, allocations: 15.94 kB / 0.7318 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.468, allocations: 8 kB / 0.7318 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.4682, allocations: 123.7 kB / 0.732 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4693, allocations: 1.973 MB / 0.7339 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.539e-05/0.4694, allocations: 165.1 kB / 0.734 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.4694, allocations: 88.14 kB / 0.7341 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4694, allocations: 79.27 kB / 0.7342 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.4695, allocations: 113.8 kB / 0.7343 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4695, allocations: 0 / 0.7343 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.45e-05/0.4696, allocations: 57.3 kB / 0.7344 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4696, allocations: 126.7 kB / 0.7345 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.4699, allocations: 332.5 kB / 0.7348 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.47, allocations: 25.7 kB / 0.7348 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.4701, allocations: 159.7 kB / 0.735 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.4701, allocations: 0 / 0.735 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4701, allocations: 33.73 kB / 0.735 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.4702, allocations: 330.8 kB / 0.7353 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.4702, allocations: 8 kB / 0.7353 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.4703, allocations: 50.88 kB / 0.7354 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.987e-05/0.4703, allocations: 78.73 kB / 0.7355 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4704, allocations: 4 kB / 0.7355 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001541/0.4705, allocations: 105.2 kB / 0.7356 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4705, allocations: 4 kB / 0.7356 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4705, allocations: 4 kB / 0.7356 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4706, allocations: 3.984 kB / 0.7356 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.4706, allocations: 12 kB / 0.7356 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4706, allocations: 4 kB / 0.7356 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.4707, allocations: 31.88 kB / 0.7356 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.4707, allocations: 8 kB / 0.7356 GB, free: 1.477 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001074/0.4708, allocations: 205.1 kB / 0.7358 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.4709, allocations: 132.6 kB / 0.7359 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.471, allocations: 126 kB / 0.7361 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/0.471, allocations: 180.2 kB / 0.7362 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.831e-05/0.4711, allocations: 184.2 kB / 0.7364 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.797e-05/0.4711, allocations: 180.3 kB / 0.7366 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.4714, allocations: 477.1 kB / 0.737 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/0.4714, allocations: 108.9 kB / 0.7371 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.4715, allocations: 108.9 kB / 0.7373 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.317e-05/0.4715, allocations: 180.2 kB / 0.7374 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.4716, allocations: 180.3 kB / 0.7376 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.785e-05/0.4716, allocations: 180.2 kB / 0.7378 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-05/0.4717, allocations: 184.2 kB / 0.7379 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.4718, allocations: 327.5 kB / 0.7383 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.4719, allocations: 213.7 kB / 0.7385 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.472, allocations: 180.3 kB / 0.7386 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.4721, allocations: 108.9 kB / 0.7387 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4721, allocations: 180.2 kB / 0.7389 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.4721, allocations: 104.9 kB / 0.739 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002078/0.4724, allocations: 239 kB / 0.7392 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4724, allocations: 4 kB / 0.7392 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002566/0.4726, allocations: 27.94 kB / 0.7393 GB, free: 13.53 MB / 0.5762 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.0003224/0.473, allocations: 0.8322 MB / 0.7401 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.473, allocations: 31.94 kB / 0.7401 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4731, allocations: 0 / 0.7401 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4731, allocations: 0 / 0.7401 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.4737, allocations: 0.5148 MB / 0.7406 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.4758, allocations: 2.527 MB / 0.7431 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4761, allocations: 0.748 MB / 0.7438 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.187e-05/0.4762, allocations: 34.27 kB / 0.7438 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.4763, allocations: 59.36 kB / 0.7439 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.4763, allocations: 0 / 0.7439 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4477/0.924, allocations: 4.711 MB / 0.7485 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.747, allocations: 15.22 kB / 0.7485 GB, free: 4.051 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)