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.004828/0.004828, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001154/0.001154, allocations: 191.3 kB / 16.67 MB, free: 5.934 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.494/1.494, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001445/0.001445, allocations: 73.77 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002545/0.2267, allocations: 1.28 MB / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2277, allocations: 0.6035 MB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.2277, allocations: 0 / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.2278, allocations: 0 / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.2278, allocations: 3.938 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.2284, allocations: 154.2 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.2285, allocations: 19.92 kB / 0.8301 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.2285, allocations: 0 / 0.8301 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.2286, allocations: 11.92 kB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.2286, allocations: 8 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.2286, allocations: 4 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.2291, allocations: 339.3 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.2292, allocations: 11.94 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.2292, allocations: 7.984 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.2295, allocations: 151.6 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2295, allocations: 0 / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2295, allocations: 0 / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2295, allocations: 0 / 0.8306 GB, free: 13.62 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.0004466/0.2299, allocations: 359.4 kB / 0.8309 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.23, allocations: 8.031 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.23, allocations: 8.875 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2301, allocations: 160.4 kB / 0.8311 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2302, allocations: 4.375 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2302, allocations: 8.375 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2303, allocations: 42.25 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2303, allocations: 192 / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2303, allocations: 7.938 kB / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2303, allocations: 0 / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.2304, allocations: 19.92 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.2307, allocations: 256.8 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.231, allocations: 54.56 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.231, allocations: 16.86 kB / 0.8315 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.231, allocations: 0 / 0.8315 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2311, allocations: 34.5 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2311, allocations: 0 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.2313, allocations: 65.61 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2313, allocations: 55.41 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.2314, allocations: 93.86 kB / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2314, allocations: 29.7 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2314, allocations: 80.14 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.2315, allocations: 15.8 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2315, allocations: 17.72 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.2316, allocations: 310.8 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.2316, allocations: 8 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.2317, allocations: 25.7 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.2317, allocations: 33.66 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2317, allocations: 0 / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.685e-05/0.2318, allocations: 61.98 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2318, allocations: 8 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2318, allocations: 0 / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2319, allocations: 0 / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.2319, allocations: 11.98 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2319, allocations: 4.031 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.232, allocations: 3.906 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.232, allocations: 4 kB / 0.8323 GB, free: 11.61 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.87e-05/0.2321, allocations: 113.8 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2321, allocations: 7.922 kB / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.2322, allocations: 69.05 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2322, allocations: 0 / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2322, allocations: 8 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2323, allocations: 0 / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.2324, allocations: 157.6 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2324, allocations: 0 / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.2325, allocations: 8 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2325, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2325, allocations: 128 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2325, allocations: 4 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2325, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.2326, allocations: 159.3 kB / 0.8328 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.2327, allocations: 77.11 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2327, allocations: 7.984 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.2327, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.2327, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2327, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.2328, allocations: 83.28 kB / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2328, allocations: 0 / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002352/0.233, allocations: 20 kB / 0.833 GB, free: 10.8 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.0001775/0.2332, allocations: 131.1 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.2333, allocations: 24 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2333, allocations: 3.938 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.2334, allocations: 15.98 kB / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2336, allocations: 9.438 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.2339, allocations: 110.8 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2342, allocations: 0.6845 MB / 0.8339 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.2342, allocations: 4.25 kB / 0.8339 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.2342, allocations: 11.44 kB / 0.8339 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2342, allocations: 0 / 0.8339 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of Templates: time 0.002958/0.2372, allocations: 0.5076 MB / 0.8344 GB, free: 9.254 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)