Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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.001105/0.001105, allocations: 87.73 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.01028/0.01028, allocations: 154.4 kB / 24.33 MB, free: 9.102 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.9732/0.9732, allocations: 177.2 MB / 204.8 MB, free: 5.387 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.811/1.811, allocations: 378.2 MB / 0.6245 GB, free: 7.949 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_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.974e-05, allocations: 2.312 kB / 0.7608 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001736/0.001756, allocations: 1.354 MB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006901/0.002446, allocations: 0.57 MB / 0.7627 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.002477, allocations: 0 / 0.7627 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.002496, allocations: 7.984 kB / 0.7627 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.002541, allocations: 2.016 kB / 0.7627 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.002963, allocations: 148.4 kB / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.772e-05/0.003011, allocations: 12.47 kB / 0.7628 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.003047, allocations: 4.562 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.003079, allocations: 3.984 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.003123, allocations: 5.156 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.003132, allocations: 0 / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.003483, allocations: 323.3 kB / 0.7632 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.003496, allocations: 9.016 kB / 0.7632 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.003509, allocations: 4 kB / 0.7632 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.003692, allocations: 148.8 kB / 0.7633 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003694, allocations: 0 / 0.7633 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003694, allocations: 0 / 0.7633 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003698, allocations: 4 kB / 0.7633 GB, free: 3.359 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.0002485/0.003947, allocations: 249.3 kB / 0.7636 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.003978, allocations: 8.031 kB / 0.7636 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.003997, allocations: 9.5 kB / 0.7636 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.903e-05/0.004066, allocations: 109.7 kB / 0.7637 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.004076, allocations: 6.125 kB / 0.7637 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-06/0.004081, allocations: 4.312 kB / 0.7637 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.725e-05/0.004138, allocations: 34.19 kB / 0.7637 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.004147, allocations: 192 / 0.7637 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.004152, allocations: 5.594 kB / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004158, allocations: 384 / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.135e-05/0.004169, allocations: 3.938 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.108e-05/0.00424, allocations: 57.8 kB / 0.7638 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.147e-05/0.004272, allocations: 19.27 kB / 0.7638 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.004283, allocations: 12.92 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.004296, allocations: 0.75 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004315, allocations: 34.5 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004316, allocations: 0.9375 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.329e-05/0.004399, allocations: 38.94 kB / 0.7639 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.004428, allocations: 51.41 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.004472, allocations: 98.72 kB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.00448, allocations: 26.73 kB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.982e-05/0.0045, allocations: 80.14 kB / 0.7641 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.004524, allocations: 16.27 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.004542, allocations: 14.66 kB / 0.7642 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.004611, allocations: 318.8 kB / 0.7645 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.004617, allocations: 0.9375 kB / 0.7645 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-06/0.004625, allocations: 7.938 kB / 0.7645 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.744e-05/0.004643, allocations: 11.61 kB / 0.7645 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.004644, allocations: 0 / 0.7645 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.735e-05/0.004681, allocations: 37.69 kB / 0.7645 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.004694, allocations: 6.344 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.004697, allocations: 0 / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.004704, allocations: 4 kB / 0.7645 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.004816, allocations: 14.69 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002236/0.005039, allocations: 0.582 MB / 0.7651 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.005052, allocations: 3.953 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005056, allocations: 3.984 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 5.098e-05/0.005107, allocations: 117.8 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-06/0.005111, allocations: 2.062 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.005177, allocations: 41 kB / 0.7653 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00518, allocations: 3.938 kB / 0.7653 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005181, allocations: 3.938 kB / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005183, allocations: 0.625 kB / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.732e-05/0.005231, allocations: 69.83 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005231, allocations: 0.5312 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.005281, allocations: 8.812 kB / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005283, allocations: 0 / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-06/0.005286, allocations: 0 / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001784/0.005465, allocations: 0.5886 MB / 0.7659 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005466, allocations: 0 / 0.7659 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.046e-05/0.005506, allocations: 57.08 kB / 0.766 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-06/0.005515, allocations: 7.922 kB / 0.766 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/0.005522, allocations: 3.984 kB / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.00553, allocations: 6.438 kB / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.005539, allocations: 0 / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.005541, allocations: 0 / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.869e-06/0.005551, allocations: 8.859 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005551, allocations: 0 / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001212/0.005672, allocations: 23.88 kB / 0.766 GB, free: 352 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.0001339/0.005806, allocations: 110.4 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.005878, allocations: 12.86 kB / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.00588, allocations: 0 / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.005901, allocations: 22.28 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.394e-05/0.005955, allocations: 0.8125 kB / 0.7662 GB, free: 192 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.006158, allocations: 117.7 kB / 0.7663 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.006192, allocations: 52.17 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.006211, allocations: 4.656 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.006241, allocations: 48.12 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.006241, allocations: 0 / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.001916/0.008157, allocations: 0.6343 MB / 0.767 GB, free: 15.36 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.929744412191212]