Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_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.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 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.001182/0.001182, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7241/0.7241, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.66 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2991, allocations: 80.21 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1551/0.4542, allocations: 174 MB / 0.7502 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007544/0.4618, allocations: 9.515 MB / 0.7595 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.462, allocations: 15.94 kB / 0.7595 GB, free: 9.266 MB / 0.5919 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.0004425/0.4624, allocations: 194.6 kB / 0.7597 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.4626, allocations: 87.31 kB / 0.7597 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.4628, allocations: 67.91 kB / 0.7598 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.4631, allocations: 330.5 kB / 0.7601 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.4633, allocations: 204.8 kB / 0.7603 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.4636, allocations: 171.3 kB / 0.7605 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.4637, allocations: 119.4 kB / 0.7606 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.4638, allocations: 20 kB / 0.7606 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.4638, allocations: 24 kB / 0.7606 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.4639, allocations: 71.81 kB / 0.7607 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.709e-05/0.464, allocations: 127.3 kB / 0.7608 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.4642, allocations: 271.1 kB / 0.7611 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4642, allocations: 0 / 0.7611 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4642, allocations: 7.938 kB / 0.7611 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4642, allocations: 0 / 0.7611 GB, free: 7.602 MB / 0.5919 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.0003979/0.4646, allocations: 0.5145 MB / 0.7616 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.4647, allocations: 12.03 kB / 0.7616 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.4647, allocations: 74.34 kB / 0.7617 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.4648, allocations: 31.72 kB / 0.7617 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.465, allocations: 266.5 kB / 0.762 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.465, allocations: 16.56 kB / 0.762 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.4651, allocations: 28 kB / 0.762 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.4654, allocations: 323.9 kB / 0.7623 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4654, allocations: 8 kB / 0.7623 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.4655, allocations: 11.94 kB / 0.7623 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4655, allocations: 8 kB / 0.7623 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.4657, allocations: 139.8 kB / 0.7625 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.4667, allocations: 1.816 MB / 0.7642 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.4667, allocations: 169.1 kB / 0.7644 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.4668, allocations: 88.14 kB / 0.7645 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4668, allocations: 75.31 kB / 0.7646 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4668, allocations: 109.8 kB / 0.7647 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4668, allocations: 0 / 0.7647 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.342e-05/0.4669, allocations: 61.27 kB / 0.7647 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.467, allocations: 130.7 kB / 0.7648 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.4673, allocations: 369.7 kB / 0.7652 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4673, allocations: 29.7 kB / 0.7652 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.4674, allocations: 175.8 kB / 0.7654 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/0.4674, allocations: 112 / 0.7654 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.4674, allocations: 17.66 kB / 0.7654 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.4675, allocations: 338.8 kB / 0.7657 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.4676, allocations: 7.984 kB / 0.7657 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.4676, allocations: 36.3 kB / 0.7658 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.4676, allocations: 48.17 kB / 0.7658 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4676, allocations: 0 / 0.7658 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.4678, allocations: 89.28 kB / 0.7659 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.4678, allocations: 4 kB / 0.7659 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4678, allocations: 0 / 0.7659 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4678, allocations: 7.984 kB / 0.7659 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.4679, allocations: 8 kB / 0.7659 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4679, allocations: 0 / 0.7659 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.4679, allocations: 27.59 kB / 0.766 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4679, allocations: 4 kB / 0.766 GB, free: 2.266 MB / 0.5919 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.0001073/0.4681, allocations: 225.1 kB / 0.7662 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.4681, allocations: 124.7 kB / 0.7663 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.4682, allocations: 130.9 kB / 0.7664 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.4682, allocations: 184.2 kB / 0.7666 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-05/0.4683, allocations: 176.3 kB / 0.7668 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/0.4683, allocations: 188.2 kB / 0.7669 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.4686, allocations: 493 kB / 0.7674 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.4686, allocations: 104.9 kB / 0.7675 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.4686, allocations: 101.1 kB / 0.7676 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-05/0.4687, allocations: 188.2 kB / 0.7678 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.4687, allocations: 180.2 kB / 0.768 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-05/0.4688, allocations: 180.3 kB / 0.7681 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-05/0.4688, allocations: 188.2 kB / 0.7683 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.469, allocations: 331.4 kB / 0.7686 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.4691, allocations: 209.7 kB / 0.7688 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.4691, allocations: 180.3 kB / 0.769 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.4692, allocations: 112.9 kB / 0.7691 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.4693, allocations: 176.6 kB / 0.7693 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.4693, allocations: 105 kB / 0.7694 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000217/0.4695, allocations: 263.2 kB / 0.7696 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.243e-06/0.4695, allocations: 4 kB / 0.7696 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002349/0.4698, allocations: 35.88 kB / 0.7697 GB, free: 14.24 MB / 0.6075 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.0002911/0.4701, allocations: 0.8474 MB / 0.7705 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.4701, allocations: 15.92 kB / 0.7705 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4701, allocations: 0 / 0.7705 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4701, allocations: 0 / 0.7705 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.4709, allocations: 0.5515 MB / 0.771 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.473, allocations: 2.714 MB / 0.7737 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.4732, allocations: 0.7518 MB / 0.7744 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.49e-05/0.4733, allocations: 30.97 kB / 0.7745 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.4734, allocations: 79.34 kB / 0.7745 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.4734, allocations: 4 kB / 0.7745 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3643/0.8377, allocations: 5.817 MB / 0.7802 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.855, allocations: 1.219 kB / 0.7802 GB, free: 3.449 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)