Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001304/0.001304, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001457/0.001457, allocations: 169.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002414/0.002414, allocations: 237.2 kB / 259.4 MB, free: 480 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 2.008 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.6468 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.538e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00368/0.003716, allocations: 1.278 MB / 0.648 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.005269, allocations: 0.5266 MB / 0.6485 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.005301, allocations: 4 kB / 0.6485 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.005325, allocations: 0 / 0.6485 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.005375, allocations: 7.875 kB / 0.6486 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.006188, allocations: 135.3 kB / 0.6487 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.006248, allocations: 11.94 kB / 0.6487 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.006302, allocations: 0 / 0.6487 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.006351, allocations: 15.91 kB / 0.6487 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.006399, allocations: 4 kB / 0.6487 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.006416, allocations: 3.938 kB / 0.6487 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007627/0.007178, allocations: 271.4 kB / 0.649 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.007198, allocations: 4 kB / 0.649 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.007224, allocations: 0 / 0.649 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.007674, allocations: 151.6 kB / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007677, allocations: 0 / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007678, allocations: 0 / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.007682, allocations: 4 kB / 0.6491 GB, free: 2.648 MB / 0.5606 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.0004997/0.008182, allocations: 274 kB / 0.6494 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.008234, allocations: 13.34 kB / 0.6494 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.008271, allocations: 0.9375 kB / 0.6494 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.008409, allocations: 109.7 kB / 0.6495 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.008424, allocations: 4.375 kB / 0.6495 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.008434, allocations: 4.375 kB / 0.6495 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.008544, allocations: 34.25 kB / 0.6495 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.008555, allocations: 192 / 0.6495 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.008568, allocations: 4.359 kB / 0.6496 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.008573, allocations: 4.375 kB / 0.6496 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.008615, allocations: 7.938 kB / 0.6496 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.008805, allocations: 97.33 kB / 0.6497 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.008879, allocations: 26.55 kB / 0.6497 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.008904, allocations: 4.859 kB / 0.6497 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.008925, allocations: 3.984 kB / 0.6497 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.008967, allocations: 38.62 kB / 0.6497 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/0.008968, allocations: 0 / 0.6497 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.009152, allocations: 33.7 kB / 0.6498 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.009209, allocations: 55.53 kB / 0.6498 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.009318, allocations: 109.7 kB / 0.6499 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.009339, allocations: 25.7 kB / 0.6499 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.009392, allocations: 80.14 kB / 0.65 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.009423, allocations: 7.953 kB / 0.65 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.009471, allocations: 17.66 kB / 0.65 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.00966, allocations: 314.8 kB / 0.6503 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.009678, allocations: 0 / 0.6503 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.009696, allocations: 4 kB / 0.6503 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.009748, allocations: 21.03 kB / 0.6504 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.00975, allocations: 0 / 0.6504 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.009854, allocations: 33.7 kB / 0.6504 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.00988, allocations: 8 kB / 0.6504 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.009884, allocations: 0 / 0.6504 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.009901, allocations: 3.938 kB / 0.6504 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.01009, allocations: 11.98 kB / 0.6504 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005481/0.01064, allocations: 0.5859 MB / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.01067, allocations: 0 / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.01068, allocations: 4.125 kB / 0.651 GB, free: 0.5352 MB / 0.5606 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 0.0001106/0.01079, allocations: 113.9 kB / 0.6511 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.0108, allocations: 7.891 kB / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.01095, allocations: 48.94 kB / 0.6512 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01095, allocations: 0 / 0.6512 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01096, allocations: 0 / 0.6512 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01096, allocations: 4 kB / 0.6512 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.01107, allocations: 101.3 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01107, allocations: 0 / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01119, allocations: 12.03 kB / 0.6513 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01119, allocations: 0 / 0.6513 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.0112, allocations: 7.938 kB / 0.6513 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3254/0.3366, allocations: 0.5804 MB / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3366, allocations: 0 / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.371e-05/0.3367, allocations: 65.53 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.3367, allocations: 1.094 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3367, allocations: 3.141 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.3367, allocations: 2.719 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.3368, allocations: 4.188 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3368, allocations: 0.9375 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.3368, allocations: 78.08 kB / 0.652 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.3368, allocations: 0.9375 kB / 0.652 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002546/0.337, allocations: 12.38 kB / 0.652 GB, free: 56.34 MB / 0.5606 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.0001758/0.3372, allocations: 117.7 kB / 0.6521 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3374, allocations: 18.39 kB / 0.6521 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3374, allocations: 0 / 0.6521 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.3375, allocations: 15.58 kB / 0.6522 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.3377, allocations: 5.547 kB / 0.6522 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.338, allocations: 104.9 kB / 0.6523 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.3381, allocations: 60.56 kB / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.3381, allocations: 0 / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.3381, allocations: 10.09 kB / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.3381, allocations: 0 / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.00292/0.341, allocations: 495.2 kB / 0.6528 GB, free: 56.09 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.816653877496719] Failed to read output from testmodel.py, exit status != 0: 0.35139384120702744 0.359208086 0.34918636899999994 Calling exit ...