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.001992/0.001992, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002156/0.002156, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 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.003541/0.003541, allocations: 246.6 kB / 259.8 MB, free: 12.71 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 1.185/1.185, allocations: 138.4 MB / 454.7 MB, free: 1.457 MB / 362.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.193e-06/1.193e-06, allocations: 0 / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.706e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002651/0.002678, allocations: 1.463 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003832, allocations: 0.6071 MB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.003869, allocations: 0 / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.003894, allocations: 7.938 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.003944, allocations: 7.984 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.004719, allocations: 163.2 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.004818, allocations: 55.83 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.004851, allocations: 0 / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.004933, allocations: 31.91 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.00498, allocations: 23.95 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004999, allocations: 7.938 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.005448, allocations: 271.4 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.005476, allocations: 15.91 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.005512, allocations: 16 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.005866, allocations: 195.3 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.005871, allocations: 4 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005872, allocations: 0 / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.005877, allocations: 0 / 0.5571 GB, free: 13.97 MB / 490.7 MB 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.0006358/0.006512, allocations: 423.7 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.006548, allocations: 8.75 kB / 0.5575 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.006599, allocations: 8.938 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006719, allocations: 124.5 kB / 0.5577 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.006745, allocations: 8.375 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.006769, allocations: 8.375 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.00703, allocations: 133.4 kB / 0.5578 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.007042, allocations: 192 / 0.5578 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.007055, allocations: 4.375 kB / 0.5578 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.007061, allocations: 4.375 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.007254, allocations: 43.91 kB / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.007814, allocations: 319.6 kB / 0.5582 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.008054, allocations: 71.03 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.00815, allocations: 31.61 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.008171, allocations: 7.938 kB / 0.5583 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.008207, allocations: 37.39 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.008208, allocations: 0 / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001496/0.009704, allocations: 0.5006 MB / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.009758, allocations: 55.41 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.009881, allocations: 161.9 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.009901, allocations: 25.7 kB / 0.559 GB, free: 11.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.009988, allocations: 142.8 kB / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.01003, allocations: 39.64 kB / 0.5592 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.01009, allocations: 35.36 kB / 0.5592 GB, free: 11.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.01034, allocations: 0.4922 MB / 0.5597 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01046, allocations: 35.92 kB / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01056, allocations: 27.97 kB / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.01078, allocations: 75.61 kB / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.01078, allocations: 0 / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002888/0.01107, allocations: 113.8 kB / 0.5599 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01108, allocations: 4 kB / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01108, allocations: 0 / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.0111, allocations: 0 / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.01124, allocations: 31.92 kB / 0.56 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01124, allocations: 4 kB / 0.56 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.0113, allocations: 7.984 kB / 0.56 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01131, allocations: 4 kB / 0.56 GB, free: 10.75 MB / 490.7 MB 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 0.00012/0.01143, allocations: 164.5 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.01147, allocations: 8 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.01182, allocations: 121.8 kB / 0.5603 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01182, allocations: 0 / 0.5603 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01182, allocations: 7.938 kB / 0.5603 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01182, allocations: 0 / 0.5603 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.01239, allocations: 385.4 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.01239, allocations: 0 / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01253, allocations: 24.17 kB / 0.5607 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01253, allocations: 0 / 0.5607 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01254, allocations: 3.938 kB / 0.5607 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01255, allocations: 4 kB / 0.5607 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.01255, allocations: 7.969 kB / 0.5607 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.01305, allocations: 299.8 kB / 0.561 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.01306, allocations: 7.938 kB / 0.561 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.01308, allocations: 8.031 kB / 0.561 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.01317, allocations: 4 kB / 0.561 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.0132, allocations: 7.984 kB / 0.561 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01321, allocations: 4 kB / 0.561 GB, free: 9.637 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.157e-05/0.01329, allocations: 127.2 kB / 0.5611 GB, free: 9.512 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01329, allocations: 0 / 0.5611 GB, free: 9.512 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.01357, allocations: 43.8 kB / 0.5612 GB, free: 9.469 MB / 490.7 MB 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.0002337/0.0138, allocations: 139 kB / 0.5613 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.01411, allocations: 95.45 kB / 0.5614 GB, free: 9.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01411, allocations: 0 / 0.5614 GB, free: 9.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.01424, allocations: 55.59 kB / 0.5614 GB, free: 9.172 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01451, allocations: 8.812 kB / 0.5615 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.01512, allocations: 262.6 kB / 0.5617 GB, free: 8.871 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.442e-05/0.0152, allocations: 83.52 kB / 0.5618 GB, free: 8.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.01526, allocations: 12.73 kB / 0.5618 GB, free: 8.758 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.01529, allocations: 16.48 kB / 0.5618 GB, free: 8.742 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01529, allocations: 0 / 0.5618 GB, free: 8.742 MB / 490.7 MB Notification: Performance of Templates: time 0.004563/0.01986, allocations: 1.177 MB / 0.563 GB, free: 7.633 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.865009567933157]