Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.0007543/0.0007543, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007587/0.0007587, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8369/0.8369, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.001355/0.001355, allocations: 234.9 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.6274/0.6274, allocations: 138.4 MB / 455.1 MB, free: 29.99 MB / 410.7 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.754e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.2291/0.2291, allocations: 1.474 MB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.2299, allocations: 0.5669 MB / 0.6495 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.23, allocations: 1.469 kB / 0.6495 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.23, allocations: 5.672 kB / 0.6495 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.23, allocations: 10.02 kB / 0.6495 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2305, allocations: 162.7 kB / 0.6497 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.2306, allocations: 56.41 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.2306, allocations: 2.984 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.2307, allocations: 32.5 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.2308, allocations: 22.38 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2308, allocations: 2.844 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.2311, allocations: 270.5 kB / 0.6501 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.2311, allocations: 14.33 kB / 0.6501 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.2312, allocations: 18.03 kB / 0.6501 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2314, allocations: 191.7 kB / 0.6503 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2314, allocations: 1.25 kB / 0.6503 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2314, allocations: 0.7188 kB / 0.6503 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2314, allocations: 0 / 0.6503 GB, free: 56.15 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004797/0.2319, allocations: 323.2 kB / 0.6506 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.232, allocations: 15.75 kB / 0.6506 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.232, allocations: 10.48 kB / 0.6506 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.2321, allocations: 116.6 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.2321, allocations: 8 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.2321, allocations: 9.703 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2323, allocations: 129.8 kB / 0.6509 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2323, allocations: 0.9688 kB / 0.6509 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2324, allocations: 4.969 kB / 0.6509 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2324, allocations: 1.531 kB / 0.6509 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2325, allocations: 54.28 kB / 0.6509 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.2329, allocations: 254.5 kB / 0.6512 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.233, allocations: 73.77 kB / 0.6512 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.2331, allocations: 36.22 kB / 0.6513 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.2331, allocations: 2.125 kB / 0.6513 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2331, allocations: 36.64 kB / 0.6513 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.2331, allocations: 0 / 0.6513 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0009539/0.2341, allocations: 0.5014 MB / 0.6518 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2341, allocations: 56.75 kB / 0.6518 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.897e-05/0.2342, allocations: 103.6 kB / 0.6519 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-06/0.2342, allocations: 30.83 kB / 0.652 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.2342, allocations: 90.41 kB / 0.6521 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.2342, allocations: 39.28 kB / 0.6521 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.2343, allocations: 29 kB / 0.6521 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.2343, allocations: 323.1 kB / 0.6524 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.2344, allocations: 33.02 kB / 0.6525 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.2344, allocations: 30.55 kB / 0.6525 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.2346, allocations: 74.17 kB / 0.6526 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2346, allocations: 0 / 0.6526 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001664/0.2347, allocations: 119.3 kB / 0.6527 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2347, allocations: 5.031 kB / 0.6527 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2348, allocations: 3.938 kB / 0.6527 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2348, allocations: 5.484 kB / 0.6527 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.2349, allocations: 25.45 kB / 0.6527 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2349, allocations: 3.438 kB / 0.6527 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.2349, allocations: 11.33 kB / 0.6527 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2349, allocations: 5.312 kB / 0.6527 GB, free: 54.38 MB / 0.5573 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 (13): * Single equations (assignments): 13 * 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 4.961e-05/0.235, allocations: 121 kB / 0.6528 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.235, allocations: 6.281 kB / 0.6529 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.2352, allocations: 132.2 kB / 0.653 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2352, allocations: 5.562 kB / 0.653 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2352, allocations: 3.062 kB / 0.653 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2352, allocations: 1.312 kB / 0.653 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2355, allocations: 320.7 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2355, allocations: 0 / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.2356, allocations: 34.17 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2356, allocations: 0 / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2356, allocations: 2.344 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2356, allocations: 1.594 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2356, allocations: 5.188 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.2359, allocations: 254.1 kB / 0.6536 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.2359, allocations: 3.516 kB / 0.6536 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2359, allocations: 3.562 kB / 0.6536 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.236, allocations: 8.219 kB / 0.6536 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.236, allocations: 10.92 kB / 0.6536 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.236, allocations: 5.656 kB / 0.6536 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.576e-05/0.236, allocations: 86.19 kB / 0.6537 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.236, allocations: 1.625 kB / 0.6537 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002044/0.2362, allocations: 42.81 kB / 0.6537 GB, free: 53.75 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001686/0.2364, allocations: 139.8 kB / 0.6539 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2366, allocations: 76.36 kB / 0.6539 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2366, allocations: 0 / 0.6539 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.2366, allocations: 47.14 kB / 0.654 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2369, allocations: 13.03 kB / 0.654 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.2373, allocations: 296.1 kB / 0.6543 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.2374, allocations: 82.75 kB / 0.6544 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2374, allocations: 16.2 kB / 0.6544 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.2374, allocations: 0 / 0.6544 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.002459/0.2399, allocations: 1.361 MB / 0.6557 GB, free: 53.25 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.016623198054731] Failed to read output from testmodel.py, exit status != 0: 0.24487866926938295 0.252405976 0.019337594 Calling exit ...