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.001375/0.001375, allocations: 108 kB / 15.61 MB, free: 152 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.001617/0.001617, allocations: 195 kB / 16.53 MB, free: 6.664 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.549/1.549, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.441/0.441, allocations: 54.95 MB / 324.7 MB, free: 15.97 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.00173/0.00173, allocations: 67.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1463, allocations: 59.59 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4378/0.5841, allocations: 148 MB / 0.5888 GB, free: 3.613 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00577/0.5899, allocations: 4.65 MB / 0.5933 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005936/0.5905, allocations: 7.938 kB / 0.5933 GB, free: 14.94 MB / 478.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.0009149/0.5916, allocations: 167.9 kB / 0.5935 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006528/0.5922, allocations: 91.42 kB / 0.5936 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.5925, allocations: 71.86 kB / 0.5936 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006601/0.5932, allocations: 303.9 kB / 0.5939 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.5936, allocations: 140.3 kB / 0.5941 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.594, allocations: 107.6 kB / 0.5942 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.5944, allocations: 163.4 kB / 0.5943 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.5944, allocations: 16 kB / 0.5943 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.5945, allocations: 16 kB / 0.5944 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.5946, allocations: 63.81 kB / 0.5944 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.5948, allocations: 99.48 kB / 0.5945 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.5951, allocations: 230.2 kB / 0.5947 GB, free: 13.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5951, allocations: 3.984 kB / 0.5947 GB, free: 13.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5951, allocations: 0 / 0.5947 GB, free: 13.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.5951, allocations: 0 / 0.5947 GB, free: 13.5 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.0006004/0.5957, allocations: 492.3 kB / 0.5952 GB, free: 12.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5958, allocations: 8.031 kB / 0.5952 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.5959, allocations: 24.66 kB / 0.5952 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.5962, allocations: 256.5 kB / 0.5955 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5962, allocations: 12.81 kB / 0.5955 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.5963, allocations: 24.38 kB / 0.5955 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.5968, allocations: 307.2 kB / 0.5958 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5968, allocations: 7.938 kB / 0.5958 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.5968, allocations: 12 kB / 0.5958 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.5969, allocations: 8 kB / 0.5958 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.5971, allocations: 115.8 kB / 0.596 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.5988, allocations: 1.973 MB / 0.5979 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.5989, allocations: 173.1 kB / 0.598 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.599, allocations: 88.06 kB / 0.5981 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.5991, allocations: 75.28 kB / 0.5982 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.201e-05/0.5992, allocations: 109.8 kB / 0.5983 GB, free: 9.586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.5992, allocations: 0 / 0.5983 GB, free: 9.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002494/0.5994, allocations: 53.36 kB / 0.5984 GB, free: 9.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5995, allocations: 130.7 kB / 0.5985 GB, free: 9.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.6001, allocations: 328.5 kB / 0.5988 GB, free: 9.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.6001, allocations: 25.7 kB / 0.5988 GB, free: 9.031 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.6003, allocations: 163.7 kB / 0.599 GB, free: 8.867 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.6003, allocations: 7.938 kB / 0.599 GB, free: 8.859 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.6004, allocations: 17.72 kB / 0.599 GB, free: 8.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6005, allocations: 338.8 kB / 0.5993 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.6006, allocations: 15.94 kB / 0.5993 GB, free: 8.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.6006, allocations: 61.05 kB / 0.5994 GB, free: 8.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.6008, allocations: 71.25 kB / 0.5995 GB, free: 8.305 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6008, allocations: 0 / 0.5995 GB, free: 8.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002716/0.601, allocations: 105.4 kB / 0.5996 GB, free: 8.195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6011, allocations: 4.781 kB / 0.5996 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6011, allocations: 4 kB / 0.5996 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.6011, allocations: 7.938 kB / 0.5996 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.6012, allocations: 12.69 kB / 0.5996 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.6013, allocations: 7.984 kB / 0.5996 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.6014, allocations: 31.59 kB / 0.5996 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.6014, allocations: 4 kB / 0.5996 GB, free: 8.125 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.0001867/0.6016, allocations: 213.2 kB / 0.5998 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.6017, allocations: 132.6 kB / 0.6 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.515e-05/0.6018, allocations: 126 kB / 0.6001 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-05/0.6019, allocations: 184.2 kB / 0.6003 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-05/0.602, allocations: 176.8 kB / 0.6004 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/0.6021, allocations: 181.5 kB / 0.6006 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.6025, allocations: 481.1 kB / 0.6011 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/0.6026, allocations: 105.6 kB / 0.6012 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.6026, allocations: 104.9 kB / 0.6013 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.6028, allocations: 180.2 kB / 0.6014 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.6029, allocations: 180.2 kB / 0.6016 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.84e-05/0.603, allocations: 189.7 kB / 0.6018 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001814/0.6032, allocations: 176.3 kB / 0.602 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.6035, allocations: 327.6 kB / 0.6023 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.6037, allocations: 201.8 kB / 0.6025 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.6039, allocations: 192.1 kB / 0.6026 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.604, allocations: 105.7 kB / 0.6027 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6042, allocations: 180.2 kB / 0.6029 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.6043, allocations: 105.8 kB / 0.603 GB, free: 4.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004103/0.6047, allocations: 239 kB / 0.6032 GB, free: 4.207 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.6047, allocations: 0 / 0.6032 GB, free: 4.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.6051, allocations: 31.84 kB / 0.6033 GB, free: 4.176 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.0002318/0.6053, allocations: 178.5 kB / 0.6034 GB, free: 3.988 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.6055, allocations: 23.88 kB / 0.6035 GB, free: 3.965 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6055, allocations: 0 / 0.6035 GB, free: 3.965 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.6055, allocations: 0 / 0.6035 GB, free: 3.965 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6066, allocations: 0.5146 MB / 0.604 GB, free: 3.453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.6075, allocations: 400.7 kB / 0.6044 GB, free: 3.039 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.6081, allocations: 0.7401 MB / 0.6051 GB, free: 2.273 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.6083, allocations: 34.27 kB / 0.6051 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.6083, allocations: 19.44 kB / 0.6051 GB, free: 2.219 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6084, allocations: 0 / 0.6051 GB, free: 2.219 MB / 478.1 MB Notification: Performance of Templates: time 0.007533/0.6159, allocations: 2.34 MB / 0.6074 GB, free: 15.93 MB / 494.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)