Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0008661/0.0008661, 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.0008786/0.0008786, allocations: 173.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.8805/0.8805, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.756e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001713/0.00174, allocations: 1.302 MB / 0.953 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.002454, allocations: 0.5454 MB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.002486, allocations: 3.938 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.002509, allocations: 3.938 kB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.002545, allocations: 0 / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.003006, allocations: 159.2 kB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.003068, allocations: 15.92 kB / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.003109, allocations: 0 / 0.9537 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.003165, allocations: 19.92 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.003209, allocations: 4 kB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.003223, allocations: 0 / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.003492, allocations: 275.4 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.003507, allocations: 0 / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.003526, allocations: 4 kB / 0.954 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.003735, allocations: 163.4 kB / 0.9542 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.003738, allocations: 0 / 0.9542 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003739, allocations: 4 kB / 0.9542 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.003744, allocations: 0 / 0.9542 GB, free: 0.5117 MB / 0.9011 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.0003632/0.004107, allocations: 286 kB / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.004144, allocations: 12.03 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.004177, allocations: 0.9375 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.004252, allocations: 109.8 kB / 0.9545 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.004264, allocations: 384 / 0.9545 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.004286, allocations: 12.31 kB / 0.9546 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.004426, allocations: 67.98 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004434, allocations: 192 / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.004445, allocations: 4.375 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004451, allocations: 8.375 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.004485, allocations: 11.92 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.0046, allocations: 109.2 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.004784, allocations: 46.61 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.004811, allocations: 16.94 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.004831, allocations: 0 / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004849, allocations: 38.5 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00485, allocations: 0 / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0005046/0.005355, allocations: 229.1 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.005386, allocations: 63.34 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.005442, allocations: 101.8 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.005451, allocations: 25.7 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.005473, allocations: 80.14 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.005496, allocations: 19.86 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.005526, allocations: 21.7 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.005597, allocations: 310.8 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.005617, allocations: 12 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.005635, allocations: 15.98 kB / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.005678, allocations: 32.86 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005679, allocations: 0 / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.861e-05/0.005758, allocations: 73.56 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.00577, allocations: 8 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005774, allocations: 0 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.005786, allocations: 0 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.005829, allocations: 8 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.005836, allocations: 11.92 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.005846, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005851, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 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.255e-05/0.005904, allocations: 113.8 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-06/0.005909, allocations: 0 / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.006017, allocations: 81.69 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.006019, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.006026, allocations: 8.438 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006029, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.006257, allocations: 255.1 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006259, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.006306, allocations: 19.98 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006308, allocations: 4.125 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.006316, allocations: 7.938 kB / 0.9563 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.006318, allocations: 4 kB / 0.9563 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.00632, allocations: 4.031 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.006446, allocations: 176.3 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.006463, allocations: 12.02 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.006476, allocations: 7.938 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.006519, allocations: 0 / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.006534, allocations: 3.984 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.006537, allocations: 4 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.407e-05/0.006562, allocations: 83.28 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006562, allocations: 0 / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001676/0.006729, allocations: 19.88 kB / 0.9566 GB, free: 13.73 MB / 0.9167 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.0001499/0.006879, allocations: 127.2 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.006967, allocations: 35.92 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.006969, allocations: 0 / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.006986, allocations: 15.98 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.007152, allocations: 6.812 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.007561, allocations: 207.2 kB / 0.957 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.007602, allocations: 63.34 kB / 0.957 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.007625, allocations: 12.5 kB / 0.957 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.007626, allocations: 0 / 0.957 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of Templates: time 0.001822/0.009448, allocations: 0.8307 MB / 0.9578 GB, free: 12.39 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.392054166644812] Failed to read output from testmodel.py, exit status != 0: 0.015272712334990501 0.023684265000000003 0.018034945 Calling exit ...