Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01009/0.01009, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.002444/0.002444, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4325/0.4325, allocations: 54.95 MB / 324.8 MB, free: 15.99 MB / 270.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.001564/0.001564, allocations: 77.41 kB / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.158, allocations: 59.59 MB / 0.5037 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7145/0.8726, allocations: 174.1 MB / 0.6738 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009394/0.8821, allocations: 9.539 MB / 0.6831 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.8828, allocations: 8.938 kB / 0.6831 GB, free: 15.73 MB / 0.5137 GB [/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.000804/0.8836, allocations: 191 kB / 0.6833 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.884, allocations: 99.56 kB / 0.6834 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.8842, allocations: 67.42 kB / 0.6834 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.8846, allocations: 329.8 kB / 0.6837 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.885, allocations: 206.3 kB / 0.6839 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.8854, allocations: 169.1 kB / 0.6841 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.8856, allocations: 119.6 kB / 0.6842 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.8856, allocations: 21.5 kB / 0.6842 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.8857, allocations: 24.98 kB / 0.6842 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.8858, allocations: 75.06 kB / 0.6843 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.8859, allocations: 126.2 kB / 0.6844 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.8863, allocations: 292.9 kB / 0.6847 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8863, allocations: 0 / 0.6847 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8863, allocations: 0 / 0.6847 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.8863, allocations: 3.047 kB / 0.6847 GB, free: 15.67 MB / 0.5137 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.0006668/0.887, allocations: 0.5123 MB / 0.6852 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.887, allocations: 10.19 kB / 0.6852 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.8871, allocations: 33.22 kB / 0.6853 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.8875, allocations: 278 kB / 0.6855 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.8876, allocations: 21.56 kB / 0.6856 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.8876, allocations: 22.88 kB / 0.6856 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.8881, allocations: 331.4 kB / 0.6859 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8881, allocations: 3.188 kB / 0.6859 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.8882, allocations: 10.25 kB / 0.6859 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.8882, allocations: 4.75 kB / 0.6859 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.8884, allocations: 145.9 kB / 0.686 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.8899, allocations: 1.821 MB / 0.6878 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/0.89, allocations: 167.3 kB / 0.688 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.89, allocations: 85.77 kB / 0.6881 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.89, allocations: 75.28 kB / 0.6881 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.8901, allocations: 117.4 kB / 0.6882 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.8901, allocations: 1.203 kB / 0.6882 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.8902, allocations: 53.36 kB / 0.6883 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.8903, allocations: 128.5 kB / 0.6884 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.8907, allocations: 381.4 kB / 0.6888 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.8907, allocations: 25.7 kB / 0.6888 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.8909, allocations: 156.4 kB / 0.689 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.8909, allocations: 7.438 kB / 0.689 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.891, allocations: 24.41 kB / 0.689 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8911, allocations: 336.4 kB / 0.6893 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.8911, allocations: 1.875 kB / 0.6893 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.8912, allocations: 39.39 kB / 0.6894 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.8912, allocations: 45.94 kB / 0.6894 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8913, allocations: 0 / 0.6894 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001626/0.8914, allocations: 90.66 kB / 0.6895 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8914, allocations: 6.625 kB / 0.6895 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8915, allocations: 5.812 kB / 0.6895 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.8915, allocations: 2.406 kB / 0.6895 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.8916, allocations: 10.41 kB / 0.6895 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8916, allocations: 0 / 0.6895 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.8917, allocations: 30.69 kB / 0.6895 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.8917, allocations: 8.875 kB / 0.6895 GB, free: 12 MB / 0.5137 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.0001545/0.8918, allocations: 209.1 kB / 0.6897 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.892, allocations: 133.7 kB / 0.6899 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/0.892, allocations: 132.3 kB / 0.69 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.8921, allocations: 181.3 kB / 0.6902 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.831e-05/0.8922, allocations: 185.8 kB / 0.6903 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.877e-05/0.8923, allocations: 180.3 kB / 0.6905 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.8927, allocations: 488.8 kB / 0.691 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-05/0.8927, allocations: 106.9 kB / 0.6911 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.8928, allocations: 107.5 kB / 0.6912 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-05/0.8929, allocations: 184.7 kB / 0.6914 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.893, allocations: 180.6 kB / 0.6915 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.457e-05/0.8931, allocations: 183.1 kB / 0.6917 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.172e-05/0.8932, allocations: 185 kB / 0.6919 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.8935, allocations: 331.5 kB / 0.6922 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.8937, allocations: 216.7 kB / 0.6924 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.8938, allocations: 176.3 kB / 0.6926 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.894, allocations: 111.5 kB / 0.6927 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.8941, allocations: 184 kB / 0.6929 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.8942, allocations: 108.1 kB / 0.693 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002692/0.8945, allocations: 267.9 kB / 0.6932 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8945, allocations: 0 / 0.6932 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003278/0.8948, allocations: 28.78 kB / 0.6932 GB, free: 8.445 MB / 0.5137 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.0001842/0.895, allocations: 171.6 kB / 0.6934 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.554e-05/0.8951, allocations: 22.75 kB / 0.6934 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8951, allocations: 0 / 0.6934 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.8951, allocations: 0 / 0.6934 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.896, allocations: 0.5498 MB / 0.694 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.8967, allocations: 446.3 kB / 0.6944 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.8972, allocations: 0.7503 MB / 0.6951 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.8973, allocations: 32.42 kB / 0.6952 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.8974, allocations: 20.44 kB / 0.6952 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.8974, allocations: 0 / 0.6952 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of Templates: time 0.00749/0.9049, allocations: 3.185 MB / 0.6983 GB, free: 6.566 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)