Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_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.001158/0.001158, 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.001186/0.001186, 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.188/1.188, 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.8119/0.8119, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.12 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3554/0.4862, allocations: 171.8 MB / 0.7516 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008433/0.4947, allocations: 9.518 MB / 0.7609 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.495, allocations: 8 kB / 0.7609 GB, free: 8.176 MB / 0.5762 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.0005226/0.4955, allocations: 155 kB / 0.7611 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.4958, allocations: 83.44 kB / 0.7612 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.4959, allocations: 55.95 kB / 0.7612 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.4963, allocations: 382.6 kB / 0.7616 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.4966, allocations: 193.8 kB / 0.7618 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.4968, allocations: 159.4 kB / 0.7619 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.497, allocations: 123.5 kB / 0.762 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.497, allocations: 20 kB / 0.7621 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.491e-05/0.497, allocations: 16 kB / 0.7621 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.4971, allocations: 67.75 kB / 0.7621 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.4972, allocations: 119.4 kB / 0.7622 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.4974, allocations: 271 kB / 0.7625 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4974, allocations: 0 / 0.7625 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4974, allocations: 0 / 0.7625 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.4974, allocations: 0 / 0.7625 GB, free: 6.562 MB / 0.5762 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.0004076/0.4979, allocations: 0.5262 MB / 0.763 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.4979, allocations: 12.03 kB / 0.763 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.4979, allocations: 58.55 kB / 0.7631 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.498, allocations: 39.62 kB / 0.7631 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.4982, allocations: 259.1 kB / 0.7634 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4983, allocations: 20.56 kB / 0.7634 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4983, allocations: 24 kB / 0.7634 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.4987, allocations: 331.8 kB / 0.7637 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.4987, allocations: 3.938 kB / 0.7637 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4987, allocations: 12 kB / 0.7637 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4987, allocations: 11.94 kB / 0.7638 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.4989, allocations: 139.8 kB / 0.7639 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.5, allocations: 1.82 MB / 0.7657 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.5001, allocations: 169.1 kB / 0.7658 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.5001, allocations: 84.14 kB / 0.7659 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.5001, allocations: 75.28 kB / 0.766 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5002, allocations: 109.8 kB / 0.7661 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.5002, allocations: 0 / 0.7661 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.927e-05/0.5003, allocations: 61.27 kB / 0.7661 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5003, allocations: 126.7 kB / 0.7663 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.5006, allocations: 369.7 kB / 0.7666 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.5007, allocations: 29.7 kB / 0.7666 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.5008, allocations: 163.8 kB / 0.7668 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.5008, allocations: 0 / 0.7668 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.5008, allocations: 29.66 kB / 0.7668 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5009, allocations: 338.8 kB / 0.7672 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.5009, allocations: 8 kB / 0.7672 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.501, allocations: 36.28 kB / 0.7672 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.501, allocations: 44.23 kB / 0.7672 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.501, allocations: 0 / 0.7672 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001184/0.5011, allocations: 89.22 kB / 0.7673 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.5012, allocations: 4 kB / 0.7673 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.5012, allocations: 4 kB / 0.7673 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.5012, allocations: 4.156 kB / 0.7673 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.5012, allocations: 11.98 kB / 0.7673 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5012, allocations: 4.047 kB / 0.7673 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.5013, allocations: 35.53 kB / 0.7674 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.5013, allocations: 4 kB / 0.7674 GB, free: 1.219 MB / 0.5762 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.0001087/0.5014, allocations: 213 kB / 0.7676 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.5015, allocations: 128.7 kB / 0.7677 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.5016, allocations: 134.9 kB / 0.7678 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-05/0.5016, allocations: 176.3 kB / 0.768 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-05/0.5017, allocations: 180.3 kB / 0.7682 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/0.5017, allocations: 184.2 kB / 0.7684 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.502, allocations: 489 kB / 0.7688 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.502, allocations: 108.9 kB / 0.7689 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.5021, allocations: 108.9 kB / 0.769 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.5021, allocations: 176.3 kB / 0.7692 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.5022, allocations: 192.2 kB / 0.7694 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.848e-05/0.5023, allocations: 180.3 kB / 0.7696 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.852e-05/0.5023, allocations: 180.2 kB / 0.7697 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5024, allocations: 343.6 kB / 0.7701 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.5025, allocations: 209.8 kB / 0.7703 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.141e-05/0.5026, allocations: 180.2 kB / 0.7704 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.5027, allocations: 104.9 kB / 0.7705 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.5028, allocations: 180.3 kB / 0.7707 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.5028, allocations: 109 kB / 0.7708 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002334/0.503, allocations: 271.2 kB / 0.7711 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.503, allocations: 0 / 0.7711 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000235/0.5033, allocations: 31.94 kB / 0.7711 GB, free: 13.2 MB / 0.5919 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.0003107/0.5036, allocations: 0.8357 MB / 0.7719 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 4.967e-05/0.5036, allocations: 15.94 kB / 0.7719 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5037, allocations: 0 / 0.7719 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.5037, allocations: 0 / 0.7719 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.5044, allocations: 0.6184 MB / 0.7725 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.5068, allocations: 2.752 MB / 0.7752 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.507, allocations: 0.7521 MB / 0.7759 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.5072, allocations: 34.95 kB / 0.776 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.5072, allocations: 75.42 kB / 0.7761 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of SimCode: time 2.01e-07/0.5072, allocations: 0 / 0.7761 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2762/0.7835, allocations: 5.585 MB / 0.7815 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.7837, allocations: 204.3 kB / 0.7817 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.579, allocations: 0 / 0.7817 GB, free: 2.336 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)