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.0009051/0.0009051, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009461/0.0009461, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9595/0.9595, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.001625/0.001625, allocations: 237.5 kB / 261.3 MB, free: 12.67 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.7954/0.7954, allocations: 138.4 MB / 456.3 MB, free: 1.449 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.242e-06/1.242e-06, allocations: 0 / 0.5564 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.56e-05, allocations: 2.312 kB / 0.5564 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001815/0.001831, allocations: 1.517 MB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.00276, allocations: 0.5954 MB / 0.5584 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.002798, allocations: 0 / 0.5584 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.002828, allocations: 7.922 kB / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.00288, allocations: 7.875 kB / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.003396, allocations: 167.2 kB / 0.5586 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.003478, allocations: 51.83 kB / 0.5587 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.003517, allocations: 4 kB / 0.5587 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.003592, allocations: 31.91 kB / 0.5587 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.00363, allocations: 19.97 kB / 0.5587 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003648, allocations: 7.938 kB / 0.5587 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.004014, allocations: 271.4 kB / 0.559 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.004035, allocations: 11.98 kB / 0.559 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.00406, allocations: 23.91 kB / 0.559 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.004312, allocations: 187.3 kB / 0.5592 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004314, allocations: 0 / 0.5592 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.004317, allocations: 3.984 kB / 0.5592 GB, free: 13.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.00432, allocations: 0 / 0.5592 GB, free: 13.37 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.0004175/0.004738, allocations: 428 kB / 0.5596 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.004771, allocations: 12.75 kB / 0.5596 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.004805, allocations: 4.938 kB / 0.5596 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.004884, allocations: 116.5 kB / 0.5597 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.004905, allocations: 8.375 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.004924, allocations: 8.375 kB / 0.5597 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.005308, allocations: 130.3 kB / 0.5599 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.005318, allocations: 4.125 kB / 0.5599 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.005326, allocations: 384 / 0.5599 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.005331, allocations: 384 / 0.5599 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.005373, allocations: 31.91 kB / 0.5599 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.005709, allocations: 280.3 kB / 0.5602 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.005829, allocations: 66.97 kB / 0.5602 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.005852, allocations: 15.69 kB / 0.5602 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.005864, allocations: 8 kB / 0.5603 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.005889, allocations: 45.31 kB / 0.5603 GB, free: 12.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.00589, allocations: 0 / 0.5603 GB, free: 12.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007274/0.006618, allocations: 436.8 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.006647, allocations: 59.34 kB / 0.5608 GB, free: 11.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.006718, allocations: 165.9 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.006732, allocations: 25.7 kB / 0.561 GB, free: 11.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.006777, allocations: 142.8 kB / 0.5611 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.00681, allocations: 39.67 kB / 0.5611 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.006855, allocations: 35.36 kB / 0.5612 GB, free: 11.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.006969, allocations: 0.4884 MB / 0.5616 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.006995, allocations: 11.98 kB / 0.5617 GB, free: 10.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.007021, allocations: 18.73 kB / 0.5617 GB, free: 10.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.00708, allocations: 43.67 kB / 0.5617 GB, free: 10.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007082, allocations: 3.938 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001155/0.007198, allocations: 93.56 kB / 0.5618 GB, free: 10.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.007208, allocations: 4 kB / 0.5618 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007212, allocations: 0 / 0.5618 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.00722, allocations: 4 kB / 0.5618 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.007311, allocations: 27.92 kB / 0.5618 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.007313, allocations: 0 / 0.5618 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.007345, allocations: 4 kB / 0.5618 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.007353, allocations: 4 kB / 0.5618 GB, free: 10.38 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 7.202e-05/0.007425, allocations: 168.5 kB / 0.562 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.007455, allocations: 7.953 kB / 0.562 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.007593, allocations: 97.77 kB / 0.5621 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.007598, allocations: 8 kB / 0.5621 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007599, allocations: 4 kB / 0.5621 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007602, allocations: 0 / 0.5621 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.007884, allocations: 329.9 kB / 0.5624 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007886, allocations: 4 kB / 0.5624 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.007976, allocations: 23.98 kB / 0.5625 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.007979, allocations: 4 kB / 0.5625 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007986, allocations: 0 / 0.5625 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007988, allocations: 0 / 0.5625 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.00799, allocations: 3.984 kB / 0.5625 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.008176, allocations: 255.7 kB / 0.5627 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.008183, allocations: 3.953 kB / 0.5627 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.008196, allocations: 11.97 kB / 0.5627 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.008264, allocations: 7.984 kB / 0.5627 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.008279, allocations: 4 kB / 0.5627 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.008289, allocations: 7.984 kB / 0.5627 GB, free: 9.395 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.008324, allocations: 123.2 kB / 0.5629 GB, free: 9.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008324, allocations: 0 / 0.5629 GB, free: 9.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.008589, allocations: 35.88 kB / 0.5629 GB, free: 9.238 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.0001452/0.008734, allocations: 139 kB / 0.563 GB, free: 9.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.008841, allocations: 63.47 kB / 0.5631 GB, free: 9.031 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.008843, allocations: 4 kB / 0.5631 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.008882, allocations: 39.59 kB / 0.5631 GB, free: 8.984 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.009108, allocations: 16.94 kB / 0.5631 GB, free: 8.969 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.009611, allocations: 254.8 kB / 0.5634 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.00965, allocations: 63.34 kB / 0.5635 GB, free: 8.602 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.009698, allocations: 20.75 kB / 0.5635 GB, free: 8.582 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.009768, allocations: 90.19 kB / 0.5636 GB, free: 8.492 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009769, allocations: 0 / 0.5636 GB, free: 8.492 MB / 490.7 MB Notification: Performance of Templates: time 0.0032/0.01297, allocations: 1.325 MB / 0.5649 GB, free: 7.227 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: 3.718823682051152]