Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.001413/0.001413, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.00155/0.00155, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9453/0.9453, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 2.3/2.3, allocations: 439.8 MB / 0.6834 GB, free: 12.93 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 1.082 GB, free: 24.73 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.599e-05, allocations: 2.281 kB / 1.082 GB, free: 24.73 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.002118/0.002144, allocations: 1.34 MB / 1.084 GB, free: 23.8 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008581/0.003002, allocations: 0.5764 MB / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.003039, allocations: 0 / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.003064, allocations: 0 / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.003104, allocations: 3.938 kB / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.003726, allocations: 171.7 kB / 1.084 GB, free: 23.35 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.003797, allocations: 22.38 kB / 1.084 GB, free: 23.34 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.003841, allocations: 3.234 kB / 1.084 GB, free: 23.34 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.0039, allocations: 15.09 kB / 1.084 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.003947, allocations: 6.625 kB / 1.084 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.00396, allocations: 0 / 1.084 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.004362, allocations: 314 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.004378, allocations: 3.938 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.004399, allocations: 8.438 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.004646, allocations: 157.7 kB / 1.085 GB, free: 23.2 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004649, allocations: 4 kB / 1.085 GB, free: 23.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00465, allocations: 0 / 1.085 GB, free: 23.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004654, allocations: 0 / 1.085 GB, free: 23.2 MB / 1.01 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.0003599/0.005014, allocations: 291 kB / 1.085 GB, free: 22.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.005053, allocations: 7.875 kB / 1.085 GB, free: 22.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.005092, allocations: 7.516 kB / 1.085 GB, free: 22.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.202e-05/0.005154, allocations: 108.4 kB / 1.085 GB, free: 22.77 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.005166, allocations: 384 / 1.085 GB, free: 22.77 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.005188, allocations: 6.938 kB / 1.085 GB, free: 22.77 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005291, allocations: 64.64 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005301, allocations: 3.469 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.005311, allocations: 7 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005316, allocations: 384 / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.005354, allocations: 9.188 kB / 1.085 GB, free: 22.69 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.005464, allocations: 109.7 kB / 1.086 GB, free: 22.56 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.005643, allocations: 48.02 kB / 1.086 GB, free: 22.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.005672, allocations: 17.48 kB / 1.086 GB, free: 22.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.005694, allocations: 2.625 kB / 1.086 GB, free: 22.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.005709, allocations: 30.56 kB / 1.086 GB, free: 22.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.00571, allocations: 0 / 1.086 GB, free: 22.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=6): time 0.0005264/0.006236, allocations: 242 kB / 1.086 GB, free: 22.28 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.00626, allocations: 55.34 kB / 1.086 GB, free: 22.21 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.35e-05/0.006304, allocations: 98.2 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.006312, allocations: 29.7 kB / 1.086 GB, free: 22.08 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.39e-05/0.006326, allocations: 80.14 kB / 1.086 GB, free: 22 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.006349, allocations: 18.61 kB / 1.086 GB, free: 21.98 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.006383, allocations: 27.05 kB / 1.086 GB, free: 21.96 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.006416, allocations: 318.8 kB / 1.086 GB, free: 21.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.00644, allocations: 16.17 kB / 1.086 GB, free: 21.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.006458, allocations: 5.688 kB / 1.086 GB, free: 21.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.006507, allocations: 35.08 kB / 1.087 GB, free: 21.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.006508, allocations: 7.219 kB / 1.087 GB, free: 21.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.356e-05/0.006592, allocations: 59.8 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006605, allocations: 2.688 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00661, allocations: 2.906 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.006623, allocations: 0 / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.006671, allocations: 21.7 kB / 1.087 GB, free: 21.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006676, allocations: 3.938 kB / 1.087 GB, free: 21.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.006691, allocations: 0 / 1.087 GB, free: 21.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006696, allocations: 3.25 kB / 1.087 GB, free: 21.55 MB / 1.01 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 4.322e-05/0.006739, allocations: 113.8 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.006749, allocations: 10.84 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.006861, allocations: 73.81 kB / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006863, allocations: 0 / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.006868, allocations: 6.531 kB / 1.087 GB, free: 21.37 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006871, allocations: 0 / 1.087 GB, free: 21.37 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.007082, allocations: 264.4 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.007084, allocations: 0 / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.007135, allocations: 15.34 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007137, allocations: 0 / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007145, allocations: 3.938 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007146, allocations: 7.438 kB / 1.087 GB, free: 21.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007147, allocations: 0 / 1.087 GB, free: 21.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.007275, allocations: 178 kB / 1.087 GB, free: 20.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.007297, allocations: 5.828 kB / 1.087 GB, free: 20.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007309, allocations: 3.938 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.00737, allocations: 2.531 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.007388, allocations: 10.09 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.007393, allocations: 3.578 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.007409, allocations: 78.06 kB / 1.087 GB, free: 20.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.00741, allocations: 0 / 1.087 GB, free: 20.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002589/0.007668, allocations: 33.34 kB / 1.087 GB, free: 20.85 MB / 1.01 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.0001868/0.007855, allocations: 140.8 kB / 1.088 GB, free: 20.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.007951, allocations: 38.59 kB / 1.088 GB, free: 20.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007953, allocations: 2.406 kB / 1.088 GB, free: 20.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.007974, allocations: 17.17 kB / 1.088 GB, free: 20.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.008205, allocations: 7.422 kB / 1.088 GB, free: 20.72 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.008557, allocations: 197 kB / 1.088 GB, free: 20.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.008598, allocations: 62.69 kB / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.008619, allocations: 14.09 kB / 1.088 GB, free: 20.45 MB / 1.01 GB Notification: Performance of SimCode: time 4.81e-07/0.008619, allocations: 0 / 1.088 GB, free: 20.45 MB / 1.01 GB Notification: Performance of Templates: time 0.002259/0.01088, allocations: 0.9476 MB / 1.089 GB, free: 20.38 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.753361901268363]