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.001518/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002268/0.002268, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.739/0.739, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 64.38 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1253, allocations: 80.2 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3529/0.4783, allocations: 171.9 MB / 0.7473 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007426/0.4858, allocations: 9.515 MB / 0.7566 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.4859, allocations: 8.469 kB / 0.7566 GB, free: 13.46 MB / 0.5762 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.0004563/0.4864, allocations: 151 kB / 0.7568 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.4866, allocations: 80.83 kB / 0.7569 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.4867, allocations: 55.91 kB / 0.7569 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.487, allocations: 386.9 kB / 0.7573 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.4873, allocations: 201.5 kB / 0.7575 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.4875, allocations: 152.3 kB / 0.7576 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.4876, allocations: 120.3 kB / 0.7577 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.4877, allocations: 16.44 kB / 0.7577 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.272e-05/0.4877, allocations: 21.69 kB / 0.7578 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.4878, allocations: 70.41 kB / 0.7578 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.913e-05/0.4879, allocations: 123.3 kB / 0.758 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4881, allocations: 275 kB / 0.7582 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4881, allocations: 0 / 0.7582 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.51e-07/0.4881, allocations: 0 / 0.7582 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.4881, allocations: 0 / 0.7582 GB, free: 12.28 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.0004008/0.4885, allocations: 0.5107 MB / 0.7587 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.4886, allocations: 15.97 kB / 0.7587 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.4886, allocations: 62.53 kB / 0.7588 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.4887, allocations: 31.66 kB / 0.7588 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.4889, allocations: 266.5 kB / 0.7591 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4889, allocations: 20.56 kB / 0.7591 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.4889, allocations: 31.98 kB / 0.7591 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.4893, allocations: 320.9 kB / 0.7594 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4894, allocations: 8 kB / 0.7594 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.4894, allocations: 12 kB / 0.7594 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4894, allocations: 7.938 kB / 0.7595 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.4896, allocations: 147.7 kB / 0.7596 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.4906, allocations: 1.808 MB / 0.7614 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.4907, allocations: 177 kB / 0.7615 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.4907, allocations: 84.14 kB / 0.7616 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4907, allocations: 75.28 kB / 0.7617 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4908, allocations: 105.8 kB / 0.7618 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.4908, allocations: 0 / 0.7618 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.244e-05/0.4908, allocations: 57.31 kB / 0.7618 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.4909, allocations: 134.7 kB / 0.762 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.4912, allocations: 373.6 kB / 0.7623 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.4912, allocations: 25.7 kB / 0.7623 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.4913, allocations: 167.8 kB / 0.7625 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.4914, allocations: 4 kB / 0.7625 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.4914, allocations: 17.75 kB / 0.7625 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.4915, allocations: 342.8 kB / 0.7629 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.4915, allocations: 112 / 0.7629 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.4915, allocations: 44.23 kB / 0.7629 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.4916, allocations: 44.22 kB / 0.7629 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4916, allocations: 4 kB / 0.7629 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001205/0.4917, allocations: 93.22 kB / 0.763 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.4917, allocations: 5.719 kB / 0.763 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4917, allocations: 0 / 0.763 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.4918, allocations: 4 kB / 0.763 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.4918, allocations: 8 kB / 0.763 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.4918, allocations: 0 / 0.763 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.4919, allocations: 27.59 kB / 0.7631 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4919, allocations: 8.156 kB / 0.7631 GB, free: 6.953 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.0001081/0.492, allocations: 217 kB / 0.7633 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.4921, allocations: 132.7 kB / 0.7634 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.4921, allocations: 127 kB / 0.7635 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/0.4922, allocations: 184.2 kB / 0.7637 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.544e-05/0.4923, allocations: 176.3 kB / 0.7639 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/0.4923, allocations: 192.2 kB / 0.7641 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.4926, allocations: 489 kB / 0.7645 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/0.4926, allocations: 101 kB / 0.7646 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.4926, allocations: 112.9 kB / 0.7647 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-05/0.4927, allocations: 176.3 kB / 0.7649 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.4927, allocations: 184.2 kB / 0.7651 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.28e-05/0.4928, allocations: 176.4 kB / 0.7652 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.735e-05/0.4928, allocations: 184.3 kB / 0.7654 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.4929, allocations: 339.5 kB / 0.7657 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.493, allocations: 225.7 kB / 0.766 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.4931, allocations: 176.3 kB / 0.7661 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4932, allocations: 101 kB / 0.7662 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.4933, allocations: 184.2 kB / 0.7664 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.4933, allocations: 105 kB / 0.7665 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000226/0.4935, allocations: 271.1 kB / 0.7668 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4936, allocations: 0 / 0.7668 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002372/0.4938, allocations: 31.94 kB / 0.7668 GB, free: 2.93 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.0002962/0.4941, allocations: 0.8356 MB / 0.7676 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.4942, allocations: 19.92 kB / 0.7676 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4942, allocations: 4.312 kB / 0.7676 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.4942, allocations: 3.938 kB / 0.7676 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.4949, allocations: 0.609 MB / 0.7682 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4974, allocations: 2.745 MB / 0.7709 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.4977, allocations: 0.756 MB / 0.7716 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.445e-05/0.4978, allocations: 38.95 kB / 0.7717 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.4979, allocations: 75.41 kB / 0.7718 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.4979, allocations: 0 / 0.7718 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3029/0.8008, allocations: 5.568 MB / 0.7772 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.801, allocations: 206.2 kB / 0.7774 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.909, allocations: 0 / 0.7774 GB, free: 8.078 MB / 0.5919 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)