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.0008479/0.0008479, allocations: 76.55 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.0008093/0.0008093, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9286/0.9286, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.00137/0.00137, allocations: 229 kB / 260.2 MB, free: 13.02 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.6613/0.6613, allocations: 138.4 MB / 455.1 MB, free: 29.95 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_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.513e-06/1.513e-06, allocations: 0 / 0.6475 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.672e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001428/0.001445, allocations: 1.299 MB / 0.6488 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.222/0.2235, allocations: 0.5374 MB / 0.6493 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.2235, allocations: 0 / 0.6493 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.2235, allocations: 1.359 kB / 0.6493 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.2236, allocations: 7.391 kB / 0.6493 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.2241, allocations: 149.2 kB / 0.6495 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.2242, allocations: 23.2 kB / 0.6495 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.2242, allocations: 3.062 kB / 0.6495 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.2243, allocations: 15.61 kB / 0.6495 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.2243, allocations: 5.672 kB / 0.6495 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2243, allocations: 0.7188 kB / 0.6495 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.2247, allocations: 275.4 kB / 0.6498 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.2247, allocations: 4.266 kB / 0.6498 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.2247, allocations: 8.641 kB / 0.6498 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.225, allocations: 152.4 kB / 0.6499 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.225, allocations: 0.6094 kB / 0.6499 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.214e-06/0.225, allocations: 1.312 kB / 0.6499 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.225, allocations: 4.688 kB / 0.6499 GB, free: 56.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003341/0.2253, allocations: 285.7 kB / 0.6502 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2253, allocations: 11.84 kB / 0.6502 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.2254, allocations: 5.578 kB / 0.6502 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.693e-05/0.2254, allocations: 111 kB / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2254, allocations: 2.75 kB / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.2255, allocations: 4.844 kB / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.2256, allocations: 65.88 kB / 0.6504 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2256, allocations: 0.75 kB / 0.6504 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2256, allocations: 0.9844 kB / 0.6504 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2256, allocations: 2.25 kB / 0.6504 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.2256, allocations: 13.53 kB / 0.6504 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.2257, allocations: 108.6 kB / 0.6505 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.2259, allocations: 48.12 kB / 0.6506 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.2259, allocations: 18.03 kB / 0.6506 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.226, allocations: 0.9688 kB / 0.6506 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.226, allocations: 33.19 kB / 0.6506 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.226, allocations: 1.406 kB / 0.6506 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0004922/0.2265, allocations: 236.2 kB / 0.6508 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.2265, allocations: 56.09 kB / 0.6509 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.722e-05/0.2265, allocations: 100.8 kB / 0.651 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.2265, allocations: 26.42 kB / 0.651 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.368e-05/0.2265, allocations: 83.25 kB / 0.6511 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.2266, allocations: 22.08 kB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.2266, allocations: 20.41 kB / 0.6511 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.135e-05/0.2266, allocations: 315.8 kB / 0.6514 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.2266, allocations: 11.81 kB / 0.6514 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.2267, allocations: 12.7 kB / 0.6515 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.2267, allocations: 36.41 kB / 0.6515 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2267, allocations: 3.781 kB / 0.6515 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.68e-05/0.2268, allocations: 69.94 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2268, allocations: 5.141 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2268, allocations: 0.8438 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2268, allocations: 0.7812 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.2269, allocations: 13.42 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2269, allocations: 3.938 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.2269, allocations: 5.547 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2269, allocations: 2.25 kB / 0.6516 GB, free: 54.77 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 (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 3.548e-05/0.2269, allocations: 113 kB / 0.6517 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.2269, allocations: 4.391 kB / 0.6517 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.227, allocations: 79.39 kB / 0.6518 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.227, allocations: 2.062 kB / 0.6518 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.227, allocations: 3.938 kB / 0.6518 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.227, allocations: 0.5625 kB / 0.6518 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.2272, allocations: 258 kB / 0.652 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2272, allocations: 7.297 kB / 0.652 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.2273, allocations: 11.41 kB / 0.6521 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2273, allocations: 1.812 kB / 0.6521 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2273, allocations: 5.234 kB / 0.6521 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2273, allocations: 1.156 kB / 0.6521 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2273, allocations: 1.594 kB / 0.6521 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2274, allocations: 177.1 kB / 0.6522 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.2274, allocations: 10.12 kB / 0.6522 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2274, allocations: 8.297 kB / 0.6522 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.2275, allocations: 2.5 kB / 0.6523 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.2275, allocations: 4.359 kB / 0.6523 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.2275, allocations: 2.562 kB / 0.6523 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.2275, allocations: 84.55 kB / 0.6523 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2275, allocations: 0.7812 kB / 0.6523 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001741/0.2277, allocations: 23.06 kB / 0.6524 GB, free: 54.13 MB / 0.5573 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.0001424/0.2278, allocations: 130.1 kB / 0.6525 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.032e-05/0.2279, allocations: 34.09 kB / 0.6525 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2279, allocations: 0 / 0.6525 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.228, allocations: 24.16 kB / 0.6525 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2281, allocations: 6.031 kB / 0.6525 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.2284, allocations: 190.9 kB / 0.6527 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.2285, allocations: 63.28 kB / 0.6528 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.2285, allocations: 13.62 kB / 0.6528 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.2285, allocations: 0 / 0.6528 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of Templates: time 0.001982/0.2305, allocations: 0.8255 MB / 0.6536 GB, free: 53.75 MB / 0.5573 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 os._exit(0), Time elapsed: 5.17112563084811] Failed to read output from testmodel.py, exit status != 0: 0.23589753545820713 0.24406611699999994 0.017390274 Calling exit ...