Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.001235/0.001235, allocations: 100.3 kB / 19.7 MB, free: 444 kB / 13.93 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.00195/0.00195, allocations: 209.7 kB / 22.99 MB, free: 2.984 MB / 13.93 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.9784/0.9784, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.558/2.558, allocations: 0.5701 GB / 0.876 GB, free: 16.55 MB / 0.6667 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 76.8 kB / 1.275 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3409, allocations: 196.8 MB / 1.467 GB, free: 3.746 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002133/0.3431, allocations: 1.344 MB / 1.468 GB, free: 2.395 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.3439, allocations: 0.5779 MB / 1.469 GB, free: 1.816 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.3439, allocations: 0 / 1.469 GB, free: 1.816 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.3439, allocations: 0 / 1.469 GB, free: 1.816 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.344, allocations: 7.922 kB / 1.469 GB, free: 1.809 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.3445, allocations: 159.4 kB / 1.469 GB, free: 1.652 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.3446, allocations: 31.8 kB / 1.469 GB, free: 1.621 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3446, allocations: 4 kB / 1.469 GB, free: 1.617 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.3447, allocations: 8 kB / 1.469 GB, free: 1.609 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.3447, allocations: 23.91 kB / 1.469 GB, free: 1.586 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3447, allocations: 0 / 1.469 GB, free: 1.586 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.3451, allocations: 319.4 kB / 1.47 GB, free: 1.273 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3451, allocations: 11.94 kB / 1.47 GB, free: 1.262 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.3451, allocations: 11.94 kB / 1.47 GB, free: 1.25 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3453, allocations: 143.6 kB / 1.47 GB, free: 1.109 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3453, allocations: 0 / 1.47 GB, free: 1.109 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3453, allocations: 0 / 1.47 GB, free: 1.109 MB / 1.135 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3453, allocations: 0 / 1.47 GB, free: 1.109 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003878/0.3457, allocations: 297.9 kB / 1.47 GB, free: 0.7852 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3458, allocations: 16.03 kB / 1.47 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3458, allocations: 0.9375 kB / 1.47 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3459, allocations: 114.4 kB / 1.47 GB, free: 0.6328 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3459, allocations: 4.375 kB / 1.47 GB, free: 0.6289 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.346, allocations: 4.375 kB / 1.47 GB, free: 0.625 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3461, allocations: 109.6 kB / 1.47 GB, free: 0.5 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3461, allocations: 192 / 1.47 GB, free: 0.5 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3461, allocations: 3.938 kB / 1.47 GB, free: 0.4961 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3461, allocations: 0 / 1.47 GB, free: 0.4961 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.3462, allocations: 19.98 kB / 1.47 GB, free: 488 kB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.3463, allocations: 113.3 kB / 1.47 GB, free: 344 kB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3464, allocations: 66.48 kB / 1.47 GB, free: 268 kB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.3464, allocations: 24.86 kB / 1.47 GB, free: 240 kB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3465, allocations: 0 / 1.47 GB, free: 240 kB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3465, allocations: 34.56 kB / 1.47 GB, free: 196 kB / 1.135 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3465, allocations: 0 / 1.47 GB, free: 196 kB / 1.135 GB Notification: Performance of matching and sorting (n=11): time 0.0008701/0.3474, allocations: 455.7 kB / 1.471 GB, free: 15.69 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3474, allocations: 59.41 kB / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.3475, allocations: 93.84 kB / 1.471 GB, free: 15.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3475, allocations: 33.7 kB / 1.471 GB, free: 15.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.3475, allocations: 80.14 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3475, allocations: 47.56 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3476, allocations: 25.72 kB / 1.471 GB, free: 15.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.3476, allocations: 322.8 kB / 1.472 GB, free: 15 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.3477, allocations: 16 kB / 1.472 GB, free: 14.98 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.3477, allocations: 23.98 kB / 1.472 GB, free: 14.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.3478, allocations: 55.97 kB / 1.472 GB, free: 14.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3478, allocations: 128 / 1.472 GB, free: 14.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001067/0.3479, allocations: 101.6 kB / 1.472 GB, free: 14.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3479, allocations: 13.81 kB / 1.472 GB, free: 14.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3479, allocations: 0 / 1.472 GB, free: 14.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3479, allocations: 0 / 1.472 GB, free: 14.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.348, allocations: 27.92 kB / 1.472 GB, free: 14.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.348, allocations: 0 / 1.472 GB, free: 14.76 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.348, allocations: 4 kB / 1.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.348, allocations: 4 kB / 1.472 GB, free: 14.75 MB / 1.151 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 (13): * Single equations (assignments): 13 * 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.505e-05/0.3481, allocations: 109.8 kB / 1.472 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.3481, allocations: 7.938 kB / 1.472 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.3483, allocations: 125.6 kB / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3483, allocations: 0 / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3483, allocations: 0 / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3483, allocations: 0 / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3486, allocations: 286.1 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3486, allocations: 0 / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.3486, allocations: 27.92 kB / 1.472 GB, free: 14.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3487, allocations: 0 / 1.472 GB, free: 14.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3487, allocations: 4 kB / 1.472 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3487, allocations: 8 kB / 1.472 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3487, allocations: 0 / 1.472 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3488, allocations: 219.4 kB / 1.472 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.3489, allocations: 7.984 kB / 1.473 GB, free: 13.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3489, allocations: 0 / 1.473 GB, free: 13.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.3489, allocations: 8 kB / 1.473 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.3489, allocations: 3.984 kB / 1.473 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3489, allocations: 4 kB / 1.473 GB, free: 13.88 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.349, allocations: 83.22 kB / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 3.938 kB / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000209/0.3492, allocations: 55.8 kB / 1.473 GB, free: 13.74 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002023/0.3494, allocations: 163 kB / 1.473 GB, free: 13.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3495, allocations: 55.97 kB / 1.473 GB, free: 13.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3495, allocations: 3.938 kB / 1.473 GB, free: 13.52 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.3495, allocations: 24 kB / 1.473 GB, free: 13.49 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3497, allocations: 15.92 kB / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3501, allocations: 327.5 kB / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.3502, allocations: 67.34 kB / 1.473 GB, free: 13.04 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.3502, allocations: 11.44 kB / 1.473 GB, free: 13.03 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/0.3502, allocations: 0 / 1.473 GB, free: 13.03 MB / 1.151 GB Notification: Performance of Templates: time 0.002426/0.3526, allocations: 1.363 MB / 1.475 GB, free: 11.67 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.699261954985559]