Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 88.39 kB / 20.91 MB, free: 3.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003264/0.003264, allocations: 153.9 kB / 24.33 MB, free: 8.488 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9094/0.9094, allocations: 177.2 MB / 204.8 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.829/1.829, allocations: 378.2 MB / 0.6245 GB, free: 7.98 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7608 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.704e-05, allocations: 2.312 kB / 0.7608 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.001789/0.001806, allocations: 1.363 MB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.00258, allocations: 0.5844 MB / 0.7627 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.002609, allocations: 0 / 0.7627 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.002626, allocations: 0.75 kB / 0.7627 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.002667, allocations: 1.531 kB / 0.7627 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.003087, allocations: 154.5 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.274e-05/0.003129, allocations: 15.92 kB / 0.7629 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.003161, allocations: 0 / 0.7629 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.00319, allocations: 4 kB / 0.7629 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.003228, allocations: 3.984 kB / 0.7629 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.003237, allocations: 5.594 kB / 0.7629 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.003583, allocations: 323.3 kB / 0.7632 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.003597, allocations: 7.922 kB / 0.7632 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.291e-05/0.00361, allocations: 4 kB / 0.7632 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.00379, allocations: 148.8 kB / 0.7633 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003792, allocations: 3.938 kB / 0.7633 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003793, allocations: 0 / 0.7633 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003797, allocations: 5.125 kB / 0.7633 GB, free: 3.355 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000249/0.004046, allocations: 252.3 kB / 0.7636 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.004076, allocations: 8.031 kB / 0.7636 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.832e-05/0.004094, allocations: 9.781 kB / 0.7636 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.004164, allocations: 105.8 kB / 0.7637 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004175, allocations: 7.156 kB / 0.7637 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-06/0.00418, allocations: 384 / 0.7637 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.343e-05/0.004233, allocations: 26.27 kB / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.004242, allocations: 192 / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.004248, allocations: 4.375 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004253, allocations: 384 / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.26e-05/0.004265, allocations: 3.938 kB / 0.7637 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.203e-05/0.004337, allocations: 63.78 kB / 0.7638 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.266e-05/0.00437, allocations: 30.53 kB / 0.7638 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.004381, allocations: 8.922 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.004393, allocations: 0 / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.004415, allocations: 30.56 kB / 0.7639 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.004416, allocations: 0 / 0.7639 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 7.941e-05/0.004495, allocations: 34.58 kB / 0.7639 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.004523, allocations: 59.33 kB / 0.764 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.004569, allocations: 99.69 kB / 0.7641 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.004578, allocations: 25.7 kB / 0.7641 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.004596, allocations: 80.67 kB / 0.7642 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.004618, allocations: 7.734 kB / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.004638, allocations: 21.7 kB / 0.7642 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.004705, allocations: 318.8 kB / 0.7645 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-06/0.004711, allocations: 7.984 kB / 0.7645 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.004716, allocations: 0 / 0.7645 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.82e-05/0.004734, allocations: 12.8 kB / 0.7645 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004736, allocations: 0 / 0.7645 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.531e-05/0.004771, allocations: 40.58 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004783, allocations: 10.02 kB / 0.7646 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.004787, allocations: 0 / 0.7646 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.004794, allocations: 4 kB / 0.7646 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.004903, allocations: 4 kB / 0.7646 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002114/0.005115, allocations: 0.5782 MB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.005128, allocations: 7.953 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005133, allocations: 5.609 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.005182, allocations: 109.8 kB / 0.7652 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-06/0.005186, allocations: 0 / 0.7652 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.584e-05/0.005252, allocations: 56.12 kB / 0.7653 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.005254, allocations: 3.938 kB / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.005256, allocations: 0 / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005258, allocations: 0 / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.858e-05/0.005307, allocations: 69.89 kB / 0.7654 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005308, allocations: 0 / 0.7654 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.00535, allocations: 11.98 kB / 0.7654 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005351, allocations: 0 / 0.7654 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-06/0.005354, allocations: 1.562 kB / 0.7654 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001586/0.005513, allocations: 0.5782 MB / 0.7659 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005514, allocations: 3.938 kB / 0.7659 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.602e-05/0.00555, allocations: 58.41 kB / 0.766 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.005557, allocations: 3.938 kB / 0.766 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.005564, allocations: 0.6562 kB / 0.766 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.005571, allocations: 4 kB / 0.766 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-06/0.00558, allocations: 4.844 kB / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.005582, allocations: 0 / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.548e-06/0.005592, allocations: 10 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005592, allocations: 0 / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001252/0.005717, allocations: 23.88 kB / 0.766 GB, free: 356 kB / 0.7136 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.005848, allocations: 116.2 kB / 0.7662 GB, free: 232 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.005916, allocations: 22.28 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.005918, allocations: 3.938 kB / 0.7662 GB, free: 204 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.005938, allocations: 10.36 kB / 0.7662 GB, free: 192 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.201e-05/0.00599, allocations: 8 kB / 0.7662 GB, free: 184 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.006185, allocations: 109.5 kB / 0.7663 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.006225, allocations: 55.34 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.006241, allocations: 1.219 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.006267, allocations: 52.31 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.006267, allocations: 0 / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.001845/0.008112, allocations: 0.6147 MB / 0.767 GB, free: 15.37 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.742809797637165]