Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00486/0.00486, allocations: 100.1 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.001161/0.001161, allocations: 193.8 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.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002558/0.2367, allocations: 1.276 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2379, allocations: 0.5958 MB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.2379, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.238, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.238, allocations: 15.92 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.2386, allocations: 139.4 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.2386, allocations: 15.92 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.2387, allocations: 4 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.2388, allocations: 11.94 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.2388, allocations: 11.97 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2389, allocations: 0 / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.2394, allocations: 343.3 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2394, allocations: 7.938 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.2394, allocations: 11.98 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.2397, allocations: 151.6 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2397, allocations: 0 / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2397, allocations: 0 / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2397, allocations: 0 / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004897/0.2402, allocations: 355.4 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2403, allocations: 15.97 kB / 0.8309 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.2403, allocations: 0.9375 kB / 0.8309 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2405, allocations: 168.4 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2405, allocations: 4.375 kB / 0.8311 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2405, allocations: 8.312 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.2406, allocations: 42.25 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2406, allocations: 192 / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2407, allocations: 3.938 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2407, allocations: 0 / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.2407, allocations: 12 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2411, allocations: 260.8 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.2413, allocations: 50.5 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.2413, allocations: 20.84 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2414, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2414, allocations: 38.56 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2414, allocations: 0 / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001867/0.2416, allocations: 49.69 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2416, allocations: 55.41 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.2417, allocations: 105.8 kB / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2418, allocations: 25.7 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2418, allocations: 84.14 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.2418, allocations: 19.73 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.2419, allocations: 13.72 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.242, allocations: 318.8 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.242, allocations: 8 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.2421, allocations: 21.72 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.2421, allocations: 33.7 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2421, allocations: 0 / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.544e-05/0.2422, allocations: 57.56 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2422, allocations: 8 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2423, allocations: 0 / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2423, allocations: 0 / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.2423, allocations: 12.45 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2423, allocations: 0 / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.2424, allocations: 8.031 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2424, allocations: 8 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.387e-05/0.2425, allocations: 121.6 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2425, allocations: 4 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.2426, allocations: 65.11 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2426, allocations: 0 / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2427, allocations: 4 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2427, allocations: 0 / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2428, allocations: 157.6 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2428, allocations: 0 / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.2429, allocations: 11.98 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2429, allocations: 0 / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2429, allocations: 4 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2429, allocations: 0 / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2429, allocations: 3.938 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.2431, allocations: 155.4 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2431, allocations: 81.11 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2431, allocations: 0 / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.2432, allocations: 0 / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2432, allocations: 3.984 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2432, allocations: 4 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.77e-05/0.2433, allocations: 75.28 kB / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2433, allocations: 0 / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000245/0.2436, allocations: 24 kB / 0.833 GB, free: 10.78 MB / 0.6544 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 (4): * Single equations (assignments): 4 * 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.0001998/0.2438, allocations: 123.2 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2439, allocations: 27.92 kB / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2439, allocations: 0 / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.2439, allocations: 12 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.2442, allocations: 13.38 kB / 0.8331 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2445, allocations: 114.7 kB / 0.8332 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2448, allocations: 0.6845 MB / 0.8339 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.2448, allocations: 8.219 kB / 0.8339 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.2449, allocations: 11.44 kB / 0.8339 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2449, allocations: 0 / 0.8339 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of Templates: time 0.002828/0.2477, allocations: 0.5116 MB / 0.8344 GB, free: 9.227 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)