Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001066/0.001066, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002683, allocations: 449.7 kB / 10.33 MB, free: 372 kB / 10.45 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.0007391/0.0007391, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001767, allocations: 463.6 kB / 11.66 MB, free: 2.504 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.9254/0.9254, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08401/1.009, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.718/1.718, allocations: 378.2 MB / 0.6076 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4404/2.158, allocations: 123.3 MB / 0.728 GB, free: 5.867 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.985e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002493/0.002523, allocations: 1.405 MB / 0.7306 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.003454, allocations: 0.6073 MB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.003477, allocations: 0 / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.00349, allocations: 3.938 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.312e-05/0.003523, allocations: 11.05 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.004002, allocations: 161.9 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.004069, allocations: 23.92 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.004113, allocations: 5.719 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.004176, allocations: 23.91 kB / 0.7315 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.004241, allocations: 7.984 kB / 0.7315 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004255, allocations: 4 kB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.004763, allocations: 335.8 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.004777, allocations: 0.6875 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.004799, allocations: 11.94 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.005064, allocations: 133.2 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.005076, allocations: 0 / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005077, allocations: 0 / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.005089, allocations: 0 / 0.7319 GB, free: 1.906 MB / 0.698 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.0004189/0.005508, allocations: 292.9 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.005542, allocations: 8.031 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.005578, allocations: 9.906 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.005667, allocations: 109.7 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.005679, allocations: 5.594 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.005708, allocations: 8.328 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.005821, allocations: 97.64 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005832, allocations: 0.9688 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.005841, allocations: 4.375 kB / 0.7324 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005846, allocations: 384 / 0.7324 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.005879, allocations: 25.25 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.005993, allocations: 72.97 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.108e-05/0.006084, allocations: 47.62 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.006112, allocations: 21.08 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.00613, allocations: 0 / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.006157, allocations: 39.52 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.006158, allocations: 0 / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009988/0.007156, allocations: 439.5 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.007187, allocations: 55.39 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.007256, allocations: 102.7 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.007268, allocations: 25.7 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.007294, allocations: 86.33 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.007337, allocations: 43.62 kB / 0.7334 GB, free: 268 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.007379, allocations: 29.7 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.007487, allocations: 314.8 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.007506, allocations: 8 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.007526, allocations: 16 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.007585, allocations: 38.28 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007586, allocations: 0 / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.593e-05/0.007681, allocations: 69.61 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.007697, allocations: 5.25 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007702, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.007711, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.007806, allocations: 23.98 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007811, allocations: 9.188 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.007831, allocations: 4 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007837, allocations: 0 / 0.7338 GB, free: 15.73 MB / 0.7136 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 6.702e-05/0.007904, allocations: 118.4 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.00792, allocations: 12.45 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.008054, allocations: 71.36 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.008057, allocations: 4 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.008059, allocations: 0 / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.008065, allocations: 7.922 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.008345, allocations: 218.8 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008347, allocations: 1.031 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.008449, allocations: 27.98 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.008451, allocations: 3.188 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.008458, allocations: 0 / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.00846, allocations: 0 / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.008466, allocations: 15.86 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.008641, allocations: 184.2 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.008654, allocations: 7.953 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.008666, allocations: 0 / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.008732, allocations: 8 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.00875, allocations: 7.922 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.008758, allocations: 6.781 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.274e-05/0.008771, allocations: 4.859 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008771, allocations: 0 / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003272/0.009098, allocations: 63.73 kB / 0.7346 GB, free: 14.93 MB / 0.7136 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.0002824/0.00938, allocations: 160.1 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009507, allocations: 48.72 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.009511, allocations: 4 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.009547, allocations: 33.53 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.00971, allocations: 12.75 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.01033, allocations: 238.7 kB / 0.7351 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.01038, allocations: 81.34 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.01046, allocations: 68.25 kB / 0.7352 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.041e-06/0.01046, allocations: 0 / 0.7352 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.002712/0.01317, allocations: 1.446 MB / 0.7366 GB, free: 12.9 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.274874321185052]