Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.000977/0.000977, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008845/0.0008845, allocations: 177.9 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.8929/0.8929, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.389e-05, allocations: 8.891 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001534/0.001558, allocations: 1.295 MB / 0.9835 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006958/0.002254, allocations: 0.5448 MB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.00228, allocations: 0 / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.002299, allocations: 3.938 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.754e-05/0.002337, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.002738, allocations: 149.6 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.002796, allocations: 23.92 kB / 0.9842 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.002832, allocations: 4 kB / 0.9842 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.002882, allocations: 11.97 kB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.002926, allocations: 11.94 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.00294, allocations: 0 / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.003224, allocations: 263.5 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.003238, allocations: 7.938 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.003255, allocations: 7.984 kB / 0.9845 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.003448, allocations: 155.5 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003449, allocations: 0 / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00345, allocations: 0 / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003454, allocations: 4 kB / 0.9846 GB, free: 15.63 MB / 0.948 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.0003374/0.003791, allocations: 289.9 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.003833, allocations: 12.03 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.003868, allocations: 0.9375 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.003952, allocations: 113.8 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.003963, allocations: 384 / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.003982, allocations: 384 / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004091, allocations: 75.88 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.004102, allocations: 192 / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.004114, allocations: 384 / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.004124, allocations: 384 / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.004166, allocations: 19.92 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.004274, allocations: 105.3 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.004435, allocations: 38.61 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.004459, allocations: 20.94 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.004476, allocations: 0 / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.004494, allocations: 38.5 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004495, allocations: 0 / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0004573/0.004952, allocations: 229.1 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.004988, allocations: 59.34 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.849e-05/0.005037, allocations: 105.8 kB / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.005046, allocations: 25.7 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.005071, allocations: 80.14 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.005102, allocations: 23.8 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.00513, allocations: 21.7 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.005216, allocations: 310.8 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.005236, allocations: 12 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.005255, allocations: 23.95 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.005302, allocations: 28.86 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005302, allocations: 0 / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.727e-05/0.00537, allocations: 69.58 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.00538, allocations: 12 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005384, allocations: 0 / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005396, allocations: 0 / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/0.005431, allocations: 12.06 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.005438, allocations: 7.938 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.005448, allocations: 0 / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-06/0.005453, allocations: 0 / 0.9863 GB, free: 13.72 MB / 0.948 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 5.075e-05/0.005503, allocations: 117.8 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-06/0.005508, allocations: 0 / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/0.005606, allocations: 73.75 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005608, allocations: 4.516 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.005613, allocations: 3.938 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.005615, allocations: 0 / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.005828, allocations: 259.1 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005829, allocations: 0 / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.005868, allocations: 12 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.00587, allocations: 0 / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.005877, allocations: 7.922 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.00588, allocations: 7.984 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005881, allocations: 0 / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.006003, allocations: 176.3 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.006022, allocations: 12.08 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.006033, allocations: 3.938 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.006075, allocations: 11.94 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.006088, allocations: 0 / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.006093, allocations: 4.188 kB / 0.9869 GB, free: 12.97 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.006117, allocations: 83.27 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006117, allocations: 3.938 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001568/0.006274, allocations: 23.88 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.000128/0.006402, allocations: 123.2 kB / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.033e-05/0.006482, allocations: 43.92 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.006485, allocations: 4 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.0065, allocations: 12 kB / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.006655, allocations: 7.984 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.006961, allocations: 191.3 kB / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.007007, allocations: 63.34 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.007026, allocations: 12.5 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.007027, allocations: 0 / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of Templates: time 0.001702/0.008728, allocations: 0.822 MB / 0.9883 GB, free: 11.53 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.8082366632297635] Failed to read output from testmodel.py, exit status != 0: 0.013907733373343945 0.021807848 0.016730503 Calling exit ...