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.001333/0.001333, allocations: 80.28 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.001503/0.001503, allocations: 166.9 kB / 22.46 MB, free: 5.355 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.002459/0.002459, allocations: 239.1 kB / 259.4 MB, free: 484 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.075/1.075, allocations: 138.4 MB / 454.3 MB, free: 2.023 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_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.302e-06/1.302e-06, allocations: 0 / 0.6468 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.626e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002656/0.002682, allocations: 1.486 MB / 0.6482 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003824, allocations: 0.572 MB / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.00387, allocations: 0 / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.003906, allocations: 7.922 kB / 0.6488 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.003967, allocations: 7.875 kB / 0.6488 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006747/0.004642, allocations: 167.2 kB / 0.649 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.004734, allocations: 47.83 kB / 0.649 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.004777, allocations: 8 kB / 0.649 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.004859, allocations: 27.97 kB / 0.6491 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.004906, allocations: 19.91 kB / 0.6491 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004924, allocations: 4 kB / 0.6491 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.00539, allocations: 279.3 kB / 0.6493 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.005415, allocations: 11.98 kB / 0.6494 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.005452, allocations: 19.92 kB / 0.6494 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.005789, allocations: 195.4 kB / 0.6496 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005791, allocations: 0 / 0.6496 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005792, allocations: 0 / 0.6496 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005796, allocations: 0 / 0.6496 GB, free: 2.207 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006338/0.00643, allocations: 321.8 kB / 0.6499 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.00647, allocations: 13.34 kB / 0.6499 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.006515, allocations: 8.891 kB / 0.6499 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.006631, allocations: 109.7 kB / 0.65 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.006658, allocations: 8.375 kB / 0.65 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.006683, allocations: 12.38 kB / 0.65 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.006981, allocations: 141 kB / 0.6501 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.006993, allocations: 4.125 kB / 0.6502 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.007007, allocations: 384 / 0.6502 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.007013, allocations: 8.297 kB / 0.6502 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.007275, allocations: 51.89 kB / 0.6502 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.00782, allocations: 256.4 kB / 0.6505 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.008138, allocations: 82.47 kB / 0.6505 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.008267, allocations: 28.78 kB / 0.6506 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.008288, allocations: 0 / 0.6506 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.008325, allocations: 38.56 kB / 0.6506 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.008326, allocations: 0 / 0.6506 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.00175/0.01008, allocations: 0.4957 MB / 0.6511 GB, free: 484 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.01012, allocations: 51.41 kB / 0.6511 GB, free: 420 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.01021, allocations: 105.8 kB / 0.6512 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01023, allocations: 25.7 kB / 0.6513 GB, free: 272 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.01029, allocations: 92.03 kB / 0.6513 GB, free: 176 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.01033, allocations: 39.69 kB / 0.6514 GB, free: 136 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.01038, allocations: 25.72 kB / 0.6514 GB, free: 104 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2924/0.3028, allocations: 326.6 kB / 0.6517 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.303, allocations: 28.7 kB / 0.6517 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3031, allocations: 36.98 kB / 0.6518 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.3034, allocations: 68.34 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3034, allocations: 1.594 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003497/0.3038, allocations: 122.7 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3038, allocations: 3.375 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3038, allocations: 1.094 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3038, allocations: 4.219 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.304, allocations: 27.66 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.304, allocations: 0.9375 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.304, allocations: 7.312 kB / 0.652 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3041, allocations: 6.141 kB / 0.652 GB, free: 56.52 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 (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 7.791e-05/0.3041, allocations: 121.2 kB / 0.6521 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3042, allocations: 6.047 kB / 0.6521 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.3046, allocations: 131 kB / 0.6523 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3046, allocations: 0 / 0.6523 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3046, allocations: 3.938 kB / 0.6523 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3046, allocations: 1.531 kB / 0.6523 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.3051, allocations: 328.5 kB / 0.6526 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3051, allocations: 2.5 kB / 0.6526 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3052, allocations: 24.44 kB / 0.6526 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3052, allocations: 0 / 0.6526 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3052, allocations: 10.69 kB / 0.6526 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3052, allocations: 0 / 0.6526 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3052, allocations: 0 / 0.6526 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.3057, allocations: 252 kB / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.3057, allocations: 4.812 kB / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3057, allocations: 13.06 kB / 0.6529 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3059, allocations: 5.906 kB / 0.6529 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.3059, allocations: 8.391 kB / 0.6529 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3059, allocations: 11.7 kB / 0.6529 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.305e-05/0.3059, allocations: 81 kB / 0.653 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.3059, allocations: 0 / 0.653 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002772/0.3062, allocations: 36.94 kB / 0.653 GB, free: 55.94 MB / 0.5606 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.000202/0.3064, allocations: 136.1 kB / 0.6531 GB, free: 55.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.3067, allocations: 82.19 kB / 0.6532 GB, free: 55.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3067, allocations: 0.9844 kB / 0.6532 GB, free: 55.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3068, allocations: 50.34 kB / 0.6533 GB, free: 55.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3072, allocations: 8.062 kB / 0.6533 GB, free: 55.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.3077, allocations: 274.1 kB / 0.6535 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.3078, allocations: 75.31 kB / 0.6536 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.941e-05/0.3078, allocations: 15.12 kB / 0.6536 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3078, allocations: 15.69 kB / 0.6536 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.3078, allocations: 0 / 0.6536 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.003896/0.3117, allocations: 1.142 MB / 0.6547 GB, free: 55.57 MB / 0.5606 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 sys.exit(0), Time elapsed: 6.048193570226431] Failed to read output from testmodel.py, exit status != 0: 0.3196300193667412 0.32876812199999994 0.32074380099999994 Calling exit ...