Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001785/0.001785, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002312/0.002312, allocations: 168.2 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.002484/0.002484, allocations: 237.7 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.061/1.061, allocations: 138.4 MB / 454.3 MB, free: 2.031 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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.55e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002283/0.002308, allocations: 1.306 MB / 0.6481 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003322, allocations: 0.5382 MB / 0.6486 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.00335, allocations: 8 kB / 0.6486 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.003379, allocations: 7.922 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.003416, allocations: 7.922 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.004007, allocations: 150.5 kB / 0.6487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.004075, allocations: 19.92 kB / 0.6488 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.00411, allocations: 3.984 kB / 0.6488 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.004167, allocations: 11.94 kB / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.004209, allocations: 7.984 kB / 0.6488 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004223, allocations: 8 kB / 0.6488 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.004671, allocations: 271.4 kB / 0.6491 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.004688, allocations: 3.984 kB / 0.6491 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.004708, allocations: 4 kB / 0.6491 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.00501, allocations: 163.5 kB / 0.6492 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005012, allocations: 0 / 0.6492 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005013, allocations: 0 / 0.6492 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.005016, allocations: 0 / 0.6492 GB, free: 2.539 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004339/0.00545, allocations: 289.9 kB / 0.6495 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.005491, allocations: 9.344 kB / 0.6495 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.005524, allocations: 4.938 kB / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.005626, allocations: 105.8 kB / 0.6496 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.00564, allocations: 4.375 kB / 0.6496 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.005665, allocations: 4.375 kB / 0.6496 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.005791, allocations: 63.95 kB / 0.6497 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.0058, allocations: 4.125 kB / 0.6497 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.005812, allocations: 4.375 kB / 0.6497 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005817, allocations: 384 / 0.6497 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.005863, allocations: 15.92 kB / 0.6497 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.006009, allocations: 101.3 kB / 0.6498 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.006207, allocations: 42.61 kB / 0.6498 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.00625, allocations: 24.8 kB / 0.6499 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.006267, allocations: 4.078 kB / 0.6499 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.006294, allocations: 38.5 kB / 0.6499 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006295, allocations: 0 / 0.6499 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006034/0.006898, allocations: 229.4 kB / 0.6501 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.006935, allocations: 55.34 kB / 0.6502 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.007017, allocations: 105.8 kB / 0.6503 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.007037, allocations: 29.7 kB / 0.6503 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.007075, allocations: 80.14 kB / 0.6504 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.007106, allocations: 19.8 kB / 0.6504 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.007144, allocations: 25.72 kB / 0.6504 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.007282, allocations: 318.8 kB / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.007308, allocations: 8 kB / 0.6507 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.007328, allocations: 8 kB / 0.6507 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.00739, allocations: 36.84 kB / 0.6508 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.007391, allocations: 0 / 0.6508 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.007496, allocations: 65.62 kB / 0.6508 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.007509, allocations: 6.656 kB / 0.6508 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.007512, allocations: 4 kB / 0.6509 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.007524, allocations: 0 / 0.6509 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.007575, allocations: 12 kB / 0.6509 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.007582, allocations: 4.172 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.0076, allocations: 0 / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.007606, allocations: 8 kB / 0.6509 GB, free: 0.6367 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 (7): * Single equations (assignments): 7 * 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.813e-05/0.007684, allocations: 105.8 kB / 0.651 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.0077, allocations: 11.94 kB / 0.651 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.007844, allocations: 77.81 kB / 0.6511 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.007848, allocations: 4 kB / 0.6511 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.007854, allocations: 3.938 kB / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007857, allocations: 0 / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.008165, allocations: 267 kB / 0.6513 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.008166, allocations: 0 / 0.6513 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.008228, allocations: 8 kB / 0.6513 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.00823, allocations: 4 kB / 0.6513 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.008239, allocations: 3.938 kB / 0.6513 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008241, allocations: 0 / 0.6513 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008244, allocations: 11.86 kB / 0.6513 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2643/0.2725, allocations: 174.7 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2725, allocations: 4.719 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2726, allocations: 7.531 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2727, allocations: 1.938 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.2727, allocations: 4.578 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2727, allocations: 3.594 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.2728, allocations: 80.61 kB / 0.6516 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2728, allocations: 2.812 kB / 0.6516 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004355/0.2732, allocations: 27.12 kB / 0.6516 GB, free: 56.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.000196/0.2734, allocations: 119.1 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.2735, allocations: 33.95 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2735, allocations: 0 / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.2736, allocations: 22.31 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2739, allocations: 0.8125 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.2742, allocations: 176.2 kB / 0.652 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.2743, allocations: 65.75 kB / 0.652 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.2743, allocations: 6.172 kB / 0.652 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.2743, allocations: 12.69 kB / 0.6521 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2743, allocations: 0.5938 kB / 0.6521 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.003105/0.2774, allocations: 0.6529 MB / 0.6527 GB, free: 56.36 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.836794935166836] Failed to read output from testmodel.py, exit status != 0: 0.2848031744360924 0.29377340399999996 0.28662559699999995 Calling exit ...