Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_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.0009616/0.0009616, 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.0013/0.0013, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8038/0.8038, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.09 kB / 0.505 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1195, allocations: 80.93 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3226/0.4422, allocations: 145.9 MB / 0.7265 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.4469, allocations: 4.603 MB / 0.731 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.4473, allocations: 6.875 kB / 0.731 GB, free: 15.95 MB / 0.5606 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.0005332/0.4478, allocations: 144.6 kB / 0.7312 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.4482, allocations: 79.81 kB / 0.7312 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.4483, allocations: 51.98 kB / 0.7313 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.4488, allocations: 305.8 kB / 0.7316 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.449, allocations: 151.8 kB / 0.7317 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.4492, allocations: 109.7 kB / 0.7318 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.4495, allocations: 169.7 kB / 0.732 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.4495, allocations: 17.03 kB / 0.732 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.4495, allocations: 14.94 kB / 0.732 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.4496, allocations: 62.36 kB / 0.7321 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.4497, allocations: 101.7 kB / 0.7322 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.45, allocations: 226.7 kB / 0.7324 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.45, allocations: 0.5156 kB / 0.7324 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.45, allocations: 5.219 kB / 0.7324 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.45, allocations: 0 / 0.7324 GB, free: 15.23 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.0004506/0.4505, allocations: 495.4 kB / 0.7329 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.4505, allocations: 10.38 kB / 0.7329 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.4506, allocations: 55.61 kB / 0.7329 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.4506, allocations: 25.22 kB / 0.7329 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.4509, allocations: 262.6 kB / 0.7332 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4509, allocations: 14.5 kB / 0.7332 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.4509, allocations: 30.56 kB / 0.7332 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.4513, allocations: 298.5 kB / 0.7335 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4514, allocations: 5.703 kB / 0.7335 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4514, allocations: 11.88 kB / 0.7335 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4514, allocations: 5.906 kB / 0.7335 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.4516, allocations: 120.6 kB / 0.7337 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4527, allocations: 1.979 MB / 0.7356 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.4528, allocations: 174.2 kB / 0.7358 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.4529, allocations: 81.11 kB / 0.7358 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4529, allocations: 75.28 kB / 0.7359 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.4529, allocations: 110.9 kB / 0.736 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4529, allocations: 0 / 0.736 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.453, allocations: 54.06 kB / 0.7361 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4531, allocations: 130.6 kB / 0.7362 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.4534, allocations: 331.2 kB / 0.7365 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4534, allocations: 29.64 kB / 0.7365 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.4535, allocations: 167.6 kB / 0.7367 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.4535, allocations: 1.125 kB / 0.7367 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.4535, allocations: 28.56 kB / 0.7367 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4537, allocations: 336 kB / 0.737 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.4537, allocations: 4.344 kB / 0.7371 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.4537, allocations: 54.42 kB / 0.7371 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.4538, allocations: 71.69 kB / 0.7372 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4538, allocations: 4.188 kB / 0.7372 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001575/0.454, allocations: 102.9 kB / 0.7373 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.454, allocations: 11.91 kB / 0.7373 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.454, allocations: 2.469 kB / 0.7373 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.454, allocations: 2.281 kB / 0.7373 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.4541, allocations: 17.3 kB / 0.7373 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4541, allocations: 3.156 kB / 0.7373 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.4542, allocations: 28.34 kB / 0.7373 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.4542, allocations: 6.938 kB / 0.7373 GB, free: 10.74 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.0001117/0.4543, allocations: 214.9 kB / 0.7375 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.4544, allocations: 127.5 kB / 0.7377 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.4544, allocations: 123.7 kB / 0.7378 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/0.4545, allocations: 182.3 kB / 0.738 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-05/0.4545, allocations: 181.3 kB / 0.7381 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.091e-05/0.4546, allocations: 190.2 kB / 0.7383 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.4549, allocations: 474.3 kB / 0.7388 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.4549, allocations: 103.1 kB / 0.7389 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.4549, allocations: 105.5 kB / 0.739 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.564e-05/0.455, allocations: 182.2 kB / 0.7391 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.4551, allocations: 186.6 kB / 0.7393 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.196e-05/0.4551, allocations: 177.3 kB / 0.7395 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.822e-05/0.4552, allocations: 178.3 kB / 0.7397 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.4553, allocations: 327.5 kB / 0.74 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.4554, allocations: 213.3 kB / 0.7402 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.4555, allocations: 182.8 kB / 0.7403 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.4556, allocations: 104.9 kB / 0.7404 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.4556, allocations: 182.6 kB / 0.7406 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.4557, allocations: 108 kB / 0.7407 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002202/0.4559, allocations: 238.8 kB / 0.741 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4559, allocations: 4 kB / 0.741 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002427/0.4562, allocations: 29.09 kB / 0.741 GB, free: 7.066 MB / 0.5606 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.0003125/0.4565, allocations: 0.8342 MB / 0.7418 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.908e-05/0.4565, allocations: 25.81 kB / 0.7418 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4566, allocations: 0 / 0.7418 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.4566, allocations: 1.094 kB / 0.7418 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.4572, allocations: 0.5225 MB / 0.7423 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.4594, allocations: 2.542 MB / 0.7448 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4596, allocations: 0.7471 MB / 0.7455 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.246e-05/0.4597, allocations: 30.31 kB / 0.7456 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.4598, allocations: 57.14 kB / 0.7456 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of SimCode: time 1.91e-07/0.4598, allocations: 0 / 0.7456 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3418/0.8016, allocations: 4.647 MB / 0.7502 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.8019, allocations: 201.6 kB / 0.7504 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.649, allocations: 2.281 kB / 0.7504 GB, free: 1.348 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)