Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001638, allocations: 180.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6942/0.6942, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 403.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 105.5 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009844/0.0009845, allocations: 60.14 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.143, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5316/0.6747, allocations: 168.1 MB / 0.8043 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.6805, allocations: 5.98 MB / 0.8101 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.6808, allocations: 15.94 kB / 0.8101 GB, free: 5.121 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.6814, allocations: 159.6 kB / 0.8103 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.6817, allocations: 75.56 kB / 0.8104 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.6829, allocations: 494.5 kB / 0.8108 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.6834, allocations: 482.5 kB / 0.8113 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.6837, allocations: 123.6 kB / 0.8114 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.684, allocations: 179.3 kB / 0.8116 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.6842, allocations: 147.4 kB / 0.8117 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.6842, allocations: 12 kB / 0.8117 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.685, allocations: 0.5181 MB / 0.8122 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.6851, allocations: 67.81 kB / 0.8123 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.6852, allocations: 99.47 kB / 0.8124 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.6857, allocations: 458.7 kB / 0.8128 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6858, allocations: 4 kB / 0.8128 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6858, allocations: 0 / 0.8128 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6858, allocations: 0 / 0.8128 GB, free: 2.344 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006167/0.6864, allocations: 0.5229 MB / 0.8134 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6864, allocations: 8.031 kB / 0.8134 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.6867, allocations: 43.7 kB / 0.8134 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.687, allocations: 256.1 kB / 0.8136 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.6871, allocations: 135.4 kB / 0.8138 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.6872, allocations: 24 kB / 0.8138 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.6876, allocations: 297.3 kB / 0.8141 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6876, allocations: 0 / 0.8141 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.6876, allocations: 12 kB / 0.8141 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.6877, allocations: 11.94 kB / 0.8141 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.6879, allocations: 164.5 kB / 0.8143 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.6891, allocations: 1.587 MB / 0.8158 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.6892, allocations: 165.1 kB / 0.816 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.6893, allocations: 80.14 kB / 0.816 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.6893, allocations: 75.28 kB / 0.8161 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6893, allocations: 117.7 kB / 0.8162 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.6893, allocations: 4 kB / 0.8162 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.538e-05/0.6894, allocations: 49.41 kB / 0.8163 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.6895, allocations: 130.7 kB / 0.8164 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.6898, allocations: 298.7 kB / 0.8167 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.6898, allocations: 25.7 kB / 0.8167 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6899, allocations: 195.1 kB / 0.8169 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.69, allocations: 3.984 kB / 0.8169 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.69, allocations: 45.62 kB / 0.817 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6901, allocations: 338.8 kB / 0.8173 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.6902, allocations: 35.97 kB / 0.8173 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.6904, allocations: 162.8 kB / 0.8175 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.6906, allocations: 196.9 kB / 0.8177 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6906, allocations: 0 / 0.8177 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003713/0.691, allocations: 217.6 kB / 0.8179 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.691, allocations: 11.94 kB / 0.8179 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.691, allocations: 8.031 kB / 0.8179 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.691, allocations: 4 kB / 0.8179 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.6912, allocations: 43.92 kB / 0.8179 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6912, allocations: 11.92 kB / 0.8179 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6914, allocations: 35.59 kB / 0.818 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.6914, allocations: 12 kB / 0.818 GB, free: 12.64 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001338/0.6916, allocations: 218.3 kB / 0.8182 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.6917, allocations: 124.7 kB / 0.8183 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.6917, allocations: 125.8 kB / 0.8184 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-05/0.6918, allocations: 180.2 kB / 0.8186 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.497e-05/0.6918, allocations: 176.3 kB / 0.8188 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/0.6919, allocations: 188.2 kB / 0.8189 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.6922, allocations: 477.1 kB / 0.8194 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.6922, allocations: 105 kB / 0.8195 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.6923, allocations: 108.9 kB / 0.8196 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.047e-05/0.6923, allocations: 180.2 kB / 0.8198 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.6924, allocations: 184.2 kB / 0.82 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-05/0.6924, allocations: 184.5 kB / 0.8201 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-05/0.6925, allocations: 176.3 kB / 0.8203 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.6928, allocations: 0.8995 MB / 0.8212 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.6929, allocations: 205.8 kB / 0.8214 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.693, allocations: 184.2 kB / 0.8215 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6931, allocations: 109 kB / 0.8217 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.6932, allocations: 176.3 kB / 0.8218 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.6932, allocations: 104.9 kB / 0.8219 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002103/0.6935, allocations: 221.9 kB / 0.8221 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6935, allocations: 0 / 0.8221 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004368/0.6939, allocations: 51.84 kB / 0.8222 GB, free: 8.074 MB / 0.5573 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.0002921/0.6942, allocations: 218.4 kB / 0.8224 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.6944, allocations: 80.16 kB / 0.8225 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6944, allocations: 0 / 0.8225 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.6944, allocations: 0 / 0.8225 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.6949, allocations: 0.5434 MB / 0.823 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.6954, allocations: 462.6 kB / 0.8234 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.6957, allocations: 0.7359 MB / 0.8242 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.6958, allocations: 37.92 kB / 0.8242 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.6959, allocations: 15.44 kB / 0.8242 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of SimCode: time 2.31e-07/0.6959, allocations: 0 / 0.8242 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of Templates: time 0.004258/0.7001, allocations: 1.801 MB / 0.826 GB, free: 4.145 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)