Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001386/0.001386, allocations: 193.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.1 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4151/0.4151, allocations: 54.94 MB / 324.4 MB, free: 256 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 394.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1601, allocations: 59.6 MB / 454.4 MB, free: 496 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4046/0.5648, allocations: 146 MB / 0.5863 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.57, allocations: 4.605 MB / 0.5908 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.5704, allocations: 7.938 kB / 0.5908 GB, free: 1.293 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/FMI/Conversion/InletToAir.mo:76:3-78: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/Annex60 1.0.0/Fluid/FMI/Source_T.mo:49:3-50: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/Annex60 1.0.0/Fluid/FMI/Conversion/InletToAir.mo:76:3-78: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/Annex60 1.0.0/Fluid/FMI/Source_T.mo:49:3-50: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.000571/0.5711, allocations: 143.1 kB / 0.591 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.5715, allocations: 71.58 kB / 0.591 GB, free: 1.082 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.5716, allocations: 63.95 kB / 0.5911 GB, free: 1.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.572, allocations: 303.9 kB / 0.5914 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.5724, allocations: 144.2 kB / 0.5915 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.5726, allocations: 111.6 kB / 0.5916 GB, free: 480 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.5728, allocations: 163.3 kB / 0.5918 GB, free: 316 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.5729, allocations: 16 kB / 0.5918 GB, free: 300 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.5729, allocations: 16 kB / 0.5918 GB, free: 284 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.573, allocations: 67.81 kB / 0.5919 GB, free: 216 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5731, allocations: 100.9 kB / 0.592 GB, free: 116 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.5735, allocations: 229.1 kB / 0.5922 GB, free: 15.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5735, allocations: 0 / 0.5922 GB, free: 15.89 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5735, allocations: 0 / 0.5922 GB, free: 15.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.5735, allocations: 0 / 0.5922 GB, free: 15.89 MB / 478.1 MB 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.0005425/0.574, allocations: 488.3 kB / 0.5927 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5741, allocations: 12.03 kB / 0.5927 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.5741, allocations: 24.66 kB / 0.5927 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.5744, allocations: 260.4 kB / 0.5929 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.5745, allocations: 20.75 kB / 0.593 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.5745, allocations: 16.38 kB / 0.593 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.5749, allocations: 309.1 kB / 0.5933 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5749, allocations: 3.938 kB / 0.5933 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.575, allocations: 8 kB / 0.5933 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.575, allocations: 12 kB / 0.5933 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.5752, allocations: 124.2 kB / 0.5934 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.5765, allocations: 1.965 MB / 0.5953 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.5767, allocations: 177.1 kB / 0.5955 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.5767, allocations: 85.27 kB / 0.5956 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.5768, allocations: 75.28 kB / 0.5956 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5768, allocations: 109.8 kB / 0.5958 GB, free: 11.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.5768, allocations: 0 / 0.5958 GB, free: 11.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 8.515e-05/0.5769, allocations: 53.36 kB / 0.5958 GB, free: 11.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.577, allocations: 130.7 kB / 0.5959 GB, free: 11.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.5773, allocations: 332.5 kB / 0.5962 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.5773, allocations: 25.7 kB / 0.5963 GB, free: 11.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5774, allocations: 163.7 kB / 0.5964 GB, free: 11.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.5774, allocations: 3.938 kB / 0.5964 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.5775, allocations: 21.72 kB / 0.5965 GB, free: 11.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5776, allocations: 334.8 kB / 0.5968 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.5776, allocations: 6.875 kB / 0.5968 GB, free: 10.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/0.5777, allocations: 58.86 kB / 0.5968 GB, free: 10.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.5778, allocations: 74.75 kB / 0.5969 GB, free: 10.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5778, allocations: 0 / 0.5969 GB, free: 10.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001749/0.578, allocations: 105.5 kB / 0.597 GB, free: 10.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.578, allocations: 4 kB / 0.597 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.578, allocations: 4.625 kB / 0.597 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.578, allocations: 7.938 kB / 0.597 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.5781, allocations: 16 kB / 0.597 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.5781, allocations: 7.984 kB / 0.597 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.5782, allocations: 27.59 kB / 0.5971 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5782, allocations: 4.75 kB / 0.5971 GB, free: 10.52 MB / 478.1 MB 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.0001336/0.5783, allocations: 221 kB / 0.5973 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.5785, allocations: 124.7 kB / 0.5974 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.5785, allocations: 126 kB / 0.5975 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-05/0.5786, allocations: 180.2 kB / 0.5977 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001252/0.5788, allocations: 180.3 kB / 0.5979 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001402/0.5789, allocations: 188.2 kB / 0.598 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.5792, allocations: 477.1 kB / 0.5985 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/0.5793, allocations: 101.5 kB / 0.5986 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.5793, allocations: 104.9 kB / 0.5987 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.905e-05/0.5794, allocations: 184.2 kB / 0.5989 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.5796, allocations: 185.2 kB / 0.5991 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001428/0.5797, allocations: 180.3 kB / 0.5992 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001202/0.5798, allocations: 185.5 kB / 0.5994 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.58, allocations: 319.6 kB / 0.5997 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5801, allocations: 205.8 kB / 0.5999 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.5802, allocations: 184.2 kB / 0.6001 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5803, allocations: 109 kB / 0.6002 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.5804, allocations: 184.2 kB / 0.6004 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.5804, allocations: 102.2 kB / 0.6005 GB, free: 6.836 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.5807, allocations: 235 kB / 0.6007 GB, free: 6.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.5807, allocations: 0 / 0.6007 GB, free: 6.605 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.581, allocations: 31.84 kB / 0.6007 GB, free: 6.574 MB / 478.1 MB 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.0001273/0.5811, allocations: 178.5 kB / 0.6009 GB, free: 6.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.5812, allocations: 27.88 kB / 0.6009 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5812, allocations: 0 / 0.6009 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5812, allocations: 0.8438 kB / 0.6009 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.5819, allocations: 0.5236 MB / 0.6014 GB, free: 5.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.5825, allocations: 445.4 kB / 0.6018 GB, free: 5.383 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.5829, allocations: 0.7401 MB / 0.6026 GB, free: 4.617 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.622e-05/0.583, allocations: 34.27 kB / 0.6026 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.583, allocations: 19.44 kB / 0.6026 GB, free: 4.562 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.583, allocations: 3.938 kB / 0.6026 GB, free: 4.559 MB / 478.1 MB Notification: Performance of Templates: time 0.004972/0.588, allocations: 2.32 MB / 0.6049 GB, free: 2.297 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)