Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 104.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 489.7 MB / 0.7761 GB, free: 33.76 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 64.31 kB / 1.127 GB, free: 36.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2971, allocations: 172.1 MB / 1.295 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003247/0.3003, allocations: 1.274 MB / 1.296 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3017, allocations: 0.6061 MB / 1.297 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.3018, allocations: 0 / 1.297 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.3018, allocations: 3.984 kB / 1.297 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.3018, allocations: 3.938 kB / 1.297 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.3025, allocations: 151.4 kB / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.3026, allocations: 19.92 kB / 1.297 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.3026, allocations: 0 / 1.297 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.3027, allocations: 11.94 kB / 1.297 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.3027, allocations: 7.938 kB / 1.297 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3027, allocations: 0 / 1.297 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007323/0.3035, allocations: 347.3 kB / 1.297 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.3035, allocations: 7.922 kB / 1.297 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.3035, allocations: 8 kB / 1.297 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3039, allocations: 143.6 kB / 1.297 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3039, allocations: 0 / 1.297 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3039, allocations: 7.938 kB / 1.297 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3039, allocations: 0 / 1.297 GB, free: 8.984 MB / 0.9981 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.0005999/0.3045, allocations: 363.1 kB / 1.298 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3046, allocations: 8.031 kB / 1.298 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3046, allocations: 4.938 kB / 1.298 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3048, allocations: 168.3 kB / 1.298 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3048, allocations: 384 / 1.298 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3048, allocations: 4.375 kB / 1.298 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.305, allocations: 46.25 kB / 1.298 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.305, allocations: 192 / 1.298 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.305, allocations: 3.938 kB / 1.298 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.305, allocations: 0 / 1.298 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.305, allocations: 15.97 kB / 1.298 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.3053, allocations: 165.6 kB / 1.298 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3055, allocations: 42.56 kB / 1.298 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.3056, allocations: 16.86 kB / 1.298 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3056, allocations: 4 kB / 1.298 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3056, allocations: 30.56 kB / 1.298 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.3056, allocations: 0 / 1.298 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0008421/0.3065, allocations: 314.3 kB / 1.299 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3065, allocations: 59.34 kB / 1.299 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.3066, allocations: 93.86 kB / 1.299 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3067, allocations: 29.7 kB / 1.299 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.3067, allocations: 88.12 kB / 1.299 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.3068, allocations: 19.8 kB / 1.299 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3068, allocations: 21.7 kB / 1.299 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.307, allocations: 318.8 kB / 1.299 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.307, allocations: 12 kB / 1.299 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.307, allocations: 8 kB / 1.299 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.3071, allocations: 32.84 kB / 1.299 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3071, allocations: 4 kB / 1.299 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.3072, allocations: 61.69 kB / 1.299 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3072, allocations: 11.88 kB / 1.299 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3072, allocations: 7.938 kB / 1.299 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3073, allocations: 0 / 1.299 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.3073, allocations: 8 kB / 1.299 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3073, allocations: 0 / 1.299 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.3073, allocations: 4 kB / 1.299 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3073, allocations: 4 kB / 1.299 GB, free: 6.781 MB / 0.9981 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.198e-05/0.3074, allocations: 109.8 kB / 1.299 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.3074, allocations: 15.88 kB / 1.299 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.3076, allocations: 77.53 kB / 1.299 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3076, allocations: 0 / 1.299 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3076, allocations: 0 / 1.299 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3076, allocations: 4 kB / 1.299 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.308, allocations: 307.4 kB / 1.3 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.308, allocations: 3.984 kB / 1.3 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.3081, allocations: 11.94 kB / 1.3 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3081, allocations: 8.031 kB / 1.3 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3081, allocations: 0 / 1.3 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3081, allocations: 192 / 1.3 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3081, allocations: 4 kB / 1.3 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3083, allocations: 188.3 kB / 1.3 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3083, allocations: 77.62 kB / 1.3 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3084, allocations: 8.031 kB / 1.3 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3084, allocations: 8.047 kB / 1.3 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.3084, allocations: 7.938 kB / 1.3 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.3085, allocations: 0 / 1.3 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.3085, allocations: 83.27 kB / 1.3 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3085, allocations: 0 / 1.3 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002553/0.3088, allocations: 23.94 kB / 1.3 GB, free: 5.746 MB / 0.9981 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.0001939/0.309, allocations: 123.6 kB / 1.3 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.3091, allocations: 35.98 kB / 1.3 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3091, allocations: 0 / 1.3 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.3091, allocations: 15.94 kB / 1.3 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.3094, allocations: 7.938 kB / 1.3 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.3099, allocations: 221.6 kB / 1.301 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3102, allocations: 0.6846 MB / 1.301 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.3103, allocations: 11.44 kB / 1.301 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.3103, allocations: 0 / 1.301 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of Templates: time 0.002716/0.313, allocations: 0.8047 MB / 1.302 GB, free: 3.789 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400]