Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 75.88 kB / 1.057 GB, free: 1.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3461, allocations: 160.7 MB / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002687/0.3488, allocations: 1.284 MB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3501, allocations: 0.6157 MB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.3501, allocations: 0 / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.3501, allocations: 7.938 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.3502, allocations: 3.984 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.3508, allocations: 155.2 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.3508, allocations: 11.94 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.3509, allocations: 7.984 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.3509, allocations: 8 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.351, allocations: 11.92 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.351, allocations: 0 / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005488/0.3515, allocations: 347.3 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.3515, allocations: 3.984 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.3516, allocations: 15.92 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.3519, allocations: 143.5 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3519, allocations: 0 / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3519, allocations: 0 / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3519, allocations: 4 kB / 1.217 GB, free: 14.24 MB / 0.9669 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.0005347/0.3524, allocations: 367 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3525, allocations: 8.031 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3525, allocations: 0.9375 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3527, allocations: 172.3 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3527, allocations: 384 / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.3527, allocations: 4.375 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3528, allocations: 38.25 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3529, allocations: 4.188 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3529, allocations: 3.938 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3529, allocations: 0 / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.3529, allocations: 19.92 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.3531, allocations: 153.7 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3534, allocations: 50.5 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.3534, allocations: 16.86 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3534, allocations: 7.922 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3535, allocations: 30.56 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3535, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007679/0.3542, allocations: 322.3 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3543, allocations: 55.41 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.3544, allocations: 93.86 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3544, allocations: 25.7 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.3544, allocations: 84.14 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.3545, allocations: 23.78 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.3545, allocations: 17.72 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3547, allocations: 322.8 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.3547, allocations: 8 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.3547, allocations: 12 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.3548, allocations: 36.84 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3548, allocations: 0 / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.3549, allocations: 69.58 kB / 1.218 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3549, allocations: 7.938 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3549, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.355, allocations: 3.984 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.355, allocations: 12 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.355, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.355, allocations: 8 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.355, allocations: 0 / 1.218 GB, free: 12.03 MB / 0.9669 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 9.778e-05/0.3551, allocations: 109.8 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.3551, allocations: 3.938 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.3553, allocations: 77.58 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3553, allocations: 4 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3553, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3553, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.3557, allocations: 315.4 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3557, allocations: 192 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.3558, allocations: 23.92 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3558, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3558, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3558, allocations: 4 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3558, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.356, allocations: 188.2 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.3561, allocations: 85.08 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3561, allocations: 4 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.3562, allocations: 0 / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3562, allocations: 7.984 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3562, allocations: 4 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.3563, allocations: 75.28 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3563, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002582/0.3565, allocations: 27.94 kB / 1.219 GB, free: 11 MB / 0.9669 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.0002185/0.3568, allocations: 123.2 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3569, allocations: 31.94 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3569, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.3569, allocations: 19.98 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3572, allocations: 10 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.3577, allocations: 229.7 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.358, allocations: 0.6807 MB / 1.22 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.3581, allocations: 15.44 kB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3581, allocations: 4 kB / 1.22 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.002794/0.3609, allocations: 0.8091 MB / 1.221 GB, free: 9.027 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.452267564833164] Failed to read output from testmodel.py, exit status != 0: 0.3691116590052843 0.382583669 0.027799695000000003 Calling exit ...