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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 192.9 kB / 16.14 MB, free: 6.695 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.139/1.139, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7771/0.7771, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 60.12 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1176, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3102/0.4279, allocations: 145.8 MB / 0.7262 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.4324, allocations: 4.621 MB / 0.7307 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.4327, allocations: 10.94 kB / 0.7307 GB, free: 0.6289 MB / 0.545 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.0004768/0.4332, allocations: 129.5 kB / 0.7308 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.4334, allocations: 79.41 kB / 0.7309 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.4336, allocations: 55.66 kB / 0.731 GB, free: 472 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.434, allocations: 361.4 kB / 0.7313 GB, free: 324 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.4343, allocations: 145.6 kB / 0.7315 GB, free: 252 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.4344, allocations: 108.3 kB / 0.7316 GB, free: 200 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.4346, allocations: 157.5 kB / 0.7317 GB, free: 128 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.4347, allocations: 11.56 kB / 0.7317 GB, free: 128 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.676e-05/0.4347, allocations: 11.66 kB / 0.7317 GB, free: 128 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.4348, allocations: 63.89 kB / 0.7318 GB, free: 100 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.4349, allocations: 101.3 kB / 0.7319 GB, free: 36 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.4351, allocations: 216.9 kB / 0.7321 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4351, allocations: 4 kB / 0.7321 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4351, allocations: 1.375 kB / 0.7321 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.4351, allocations: 0 / 0.7321 GB, free: 15.95 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.0004107/0.4355, allocations: 492.5 kB / 0.7326 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.4356, allocations: 9.969 kB / 0.7326 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.4356, allocations: 58.5 kB / 0.7326 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.4357, allocations: 25.84 kB / 0.7327 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.4359, allocations: 260.9 kB / 0.7329 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4359, allocations: 18 kB / 0.7329 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.436, allocations: 22.09 kB / 0.7329 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.4363, allocations: 306.4 kB / 0.7332 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4363, allocations: 1.438 kB / 0.7332 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4364, allocations: 8.406 kB / 0.7333 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4364, allocations: 6.438 kB / 0.7333 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.4365, allocations: 127.6 kB / 0.7334 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4376, allocations: 1.968 MB / 0.7353 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.4377, allocations: 170.5 kB / 0.7355 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.4377, allocations: 80.14 kB / 0.7355 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4378, allocations: 79.42 kB / 0.7356 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4378, allocations: 113.8 kB / 0.7357 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4378, allocations: 0 / 0.7357 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.094e-05/0.4379, allocations: 64.8 kB / 0.7358 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.4379, allocations: 127.9 kB / 0.7359 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.4382, allocations: 324.9 kB / 0.7362 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4383, allocations: 25.7 kB / 0.7362 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.4384, allocations: 162.5 kB / 0.7364 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/0.4384, allocations: 1.125 kB / 0.7364 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.4384, allocations: 30.03 kB / 0.7364 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.4385, allocations: 331.8 kB / 0.7367 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.4385, allocations: 4.438 kB / 0.7367 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.4386, allocations: 54.16 kB / 0.7368 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.4386, allocations: 78.44 kB / 0.7369 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4387, allocations: 5.75 kB / 0.7369 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001538/0.4388, allocations: 109.8 kB / 0.737 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4388, allocations: 9.312 kB / 0.737 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4388, allocations: 2.125 kB / 0.737 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4389, allocations: 4.703 kB / 0.737 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.4389, allocations: 12.31 kB / 0.737 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4389, allocations: 4.984 kB / 0.737 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.439, allocations: 26.78 kB / 0.737 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.439, allocations: 3.938 kB / 0.737 GB, free: 11.46 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.0001055/0.4391, allocations: 212.8 kB / 0.7372 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.4392, allocations: 127.9 kB / 0.7374 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.4393, allocations: 131.3 kB / 0.7375 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/0.4393, allocations: 179.9 kB / 0.7377 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/0.4394, allocations: 185.3 kB / 0.7378 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/0.4394, allocations: 181.3 kB / 0.738 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.4397, allocations: 478.3 kB / 0.7385 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.4397, allocations: 106.7 kB / 0.7386 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.4398, allocations: 104.9 kB / 0.7387 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.311e-05/0.4398, allocations: 180.2 kB / 0.7388 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.4399, allocations: 189.5 kB / 0.739 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-05/0.4399, allocations: 177.3 kB / 0.7392 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-05/0.44, allocations: 185.5 kB / 0.7394 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.4401, allocations: 329.2 kB / 0.7397 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.4402, allocations: 206.6 kB / 0.7399 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.4402, allocations: 185.4 kB / 0.7401 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.4403, allocations: 106.2 kB / 0.7402 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.4404, allocations: 180.2 kB / 0.7403 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.4404, allocations: 106.1 kB / 0.7404 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002092/0.4406, allocations: 234.8 kB / 0.7407 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4406, allocations: 4 kB / 0.7407 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002455/0.4409, allocations: 31.81 kB / 0.7407 GB, free: 7.777 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.0002855/0.4412, allocations: 0.8294 MB / 0.7415 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.86e-05/0.4413, allocations: 25.84 kB / 0.7415 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4413, allocations: 0 / 0.7415 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.4413, allocations: 7.531 kB / 0.7415 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.4419, allocations: 0.5854 MB / 0.7421 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.4441, allocations: 2.543 MB / 0.7446 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.4443, allocations: 0.7534 MB / 0.7453 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.315e-05/0.4444, allocations: 33.7 kB / 0.7454 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.4445, allocations: 57.47 kB / 0.7454 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4445, allocations: 1.969 kB / 0.7454 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3327/0.7772, allocations: 4.518 MB / 0.7498 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.7775, allocations: 206.7 kB / 0.75 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.44, allocations: 2.438 kB / 0.75 GB, free: 1.406 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)