Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001886/0.001886, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001797/0.001797, allocations: 219.5 kB / 22.99 MB, free: 4.914 MB / 14.72 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.244/3.244, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 72.56 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3502, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00262/0.3528, allocations: 1.294 MB / 1.366 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3538, allocations: 0.5371 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.3539, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.3539, allocations: 11.92 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.3539, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.3545, allocations: 147.4 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.3546, allocations: 23.86 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.3546, allocations: 7.938 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.3546, allocations: 8 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.3547, allocations: 7.938 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3547, allocations: 4 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.3552, allocations: 271.5 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3552, allocations: 3.938 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.3552, allocations: 11.94 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.3555, allocations: 143.6 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3555, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3555, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3555, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 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.0004388/0.3559, allocations: 282 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.356, allocations: 8.031 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.356, allocations: 8.891 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3561, allocations: 110.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3562, allocations: 8.375 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.3562, allocations: 384 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3563, allocations: 67.95 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3563, allocations: 192 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3563, allocations: 3.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3563, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.3564, allocations: 15.94 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.3565, allocations: 105.4 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3567, allocations: 38.56 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3568, allocations: 20.86 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3568, allocations: 3.984 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3568, allocations: 34.56 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3568, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0006134/0.3574, allocations: 237.2 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.3575, allocations: 51.41 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.3575, allocations: 97.86 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3576, allocations: 25.7 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.3576, allocations: 84.14 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.3576, allocations: 27.77 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.3577, allocations: 21.72 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3578, allocations: 314.8 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.3578, allocations: 15.98 kB / 1.369 GB, free: 9.344 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.3579, allocations: 8 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.3579, allocations: 28.86 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3579, allocations: 0 / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.358, allocations: 73.58 kB / 1.369 GB, free: 9.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.358, allocations: 4 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3581, allocations: 7.875 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3581, allocations: 7.938 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.3581, allocations: 11.98 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3581, allocations: 4.062 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.3581, allocations: 4 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3582, allocations: 4 kB / 1.369 GB, free: 9.184 MB / 1.061 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 7.925e-05/0.3582, allocations: 110.9 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.3582, allocations: 4 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.3584, allocations: 77.61 kB / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3584, allocations: 0 / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3584, allocations: 4 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3584, allocations: 0 / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.3587, allocations: 259.1 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3587, allocations: 7.969 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.3588, allocations: 11.98 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3588, allocations: 4 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3588, allocations: 4 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3588, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3588, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.359, allocations: 180.3 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.359, allocations: 7.969 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.359, allocations: 3.938 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3591, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.3591, allocations: 12.05 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3591, allocations: 8 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.3592, allocations: 75.28 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 0 / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002387/0.3594, allocations: 23.92 kB / 1.369 GB, free: 8.32 MB / 1.061 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.0001918/0.3596, allocations: 123.8 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3597, allocations: 28.11 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3597, allocations: 4 kB / 1.37 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.3598, allocations: 16 kB / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.36, allocations: 16 kB / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.3604, allocations: 215.1 kB / 1.37 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.604e-05/0.3605, allocations: 75.28 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.3605, allocations: 11.44 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3605, allocations: 0 / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of Templates: time 0.00261/0.3631, allocations: 0.8043 MB / 1.371 GB, free: 6.988 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.991914154961705] Failed to read output from testmodel.py, exit status != 0: 0.3711864799261093 0.385434662 0.02694460799999994 Calling exit ...