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.001027/0.001027, allocations: 80.41 kB / 20.72 MB, free: 3.824 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.0009668/0.0009668, allocations: 177.2 kB / 24 MB, free: 0.543 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.9229/0.9229, allocations: 177.1 MB / 204.3 MB, free: 5.762 MB / 186.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.796/1.796, allocations: 378.2 MB / 0.624 GB, free: 8.355 MB / 0.5886 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 2.245e-06/2.245e-06, allocations: 0 / 0.9828 GB, free: 2.301 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.093e-05, allocations: 2.281 kB / 0.9828 GB, free: 2.297 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001819/0.00185, allocations: 1.325 MB / 0.9841 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008392/0.00269, allocations: 0.572 MB / 0.9846 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.002725, allocations: 4 kB / 0.9846 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.002748, allocations: 0 / 0.9846 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.002788, allocations: 7.922 kB / 0.9846 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.00329, allocations: 163.2 kB / 0.9848 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.00336, allocations: 31.84 kB / 0.9848 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.003413, allocations: 4 kB / 0.9848 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.003457, allocations: 15.98 kB / 0.9848 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.003522, allocations: 7.984 kB / 0.9848 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.003544, allocations: 8 kB / 0.9848 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.003883, allocations: 327.2 kB / 0.9852 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.003902, allocations: 3.984 kB / 0.9852 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.003926, allocations: 8 kB / 0.9852 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.004162, allocations: 167.5 kB / 0.9853 GB, free: 15.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004164, allocations: 0 / 0.9853 GB, free: 15.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.183e-06/0.004165, allocations: 0 / 0.9853 GB, free: 15.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.00417, allocations: 0 / 0.9853 GB, free: 15.66 MB / 0.948 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.0004223/0.004592, allocations: 298 kB / 0.9856 GB, free: 15.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.004649, allocations: 8.031 kB / 0.9856 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.004691, allocations: 8.891 kB / 0.9856 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.004789, allocations: 121.7 kB / 0.9857 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.004805, allocations: 4.375 kB / 0.9857 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.004831, allocations: 384 / 0.9857 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.00498, allocations: 105.6 kB / 0.9859 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.004993, allocations: 192 / 0.9859 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005003, allocations: 384 / 0.9859 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.00501, allocations: 4.375 kB / 0.9859 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.005064, allocations: 23.86 kB / 0.9859 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.005204, allocations: 113.3 kB / 0.986 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.005322, allocations: 58.5 kB / 0.986 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.005356, allocations: 24.86 kB / 0.9861 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.005384, allocations: 7.984 kB / 0.9861 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.005412, allocations: 34.56 kB / 0.9861 GB, free: 14.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005413, allocations: 0 / 0.9861 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008758/0.006289, allocations: 451.6 kB / 0.9865 GB, free: 14.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.006328, allocations: 59.39 kB / 0.9866 GB, free: 14.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.006391, allocations: 97.86 kB / 0.9867 GB, free: 14.06 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006404, allocations: 29.7 kB / 0.9867 GB, free: 14.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.00643, allocations: 80.14 kB / 0.9868 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.006465, allocations: 39.64 kB / 0.9868 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.006499, allocations: 25.72 kB / 0.9869 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.006687, allocations: 318.8 kB / 0.9872 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.006722, allocations: 20 kB / 0.9872 GB, free: 13.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.006753, allocations: 23.98 kB / 0.9872 GB, free: 13.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.006826, allocations: 62.91 kB / 0.9873 GB, free: 13.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006827, allocations: 0 / 0.9873 GB, free: 13.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000104/0.006931, allocations: 97.69 kB / 0.9874 GB, free: 13.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.006946, allocations: 8.125 kB / 0.9874 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.006952, allocations: 0 / 0.9874 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.006969, allocations: 3.938 kB / 0.9874 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.007046, allocations: 27.92 kB / 0.9874 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007051, allocations: 0 / 0.9874 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.007065, allocations: 0 / 0.9874 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.007075, allocations: 8 kB / 0.9874 GB, free: 13.3 MB / 0.948 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 7.257e-05/0.007147, allocations: 113.8 kB / 0.9875 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.007156, allocations: 3.953 kB / 0.9875 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.007307, allocations: 113.7 kB / 0.9876 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007309, allocations: 7.938 kB / 0.9876 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.007313, allocations: 0 / 0.9876 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007316, allocations: 0 / 0.9876 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.007616, allocations: 294.2 kB / 0.9879 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007617, allocations: 0 / 0.9879 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.00769, allocations: 23.97 kB / 0.9879 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007693, allocations: 3.938 kB / 0.9879 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.007702, allocations: 7.938 kB / 0.9879 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007703, allocations: 0 / 0.9879 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007705, allocations: 4.016 kB / 0.9879 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.007877, allocations: 215.5 kB / 0.9882 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-06/0.007882, allocations: 4.062 kB / 0.9882 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.007896, allocations: 7.938 kB / 0.9882 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.007959, allocations: 4.031 kB / 0.9882 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.007978, allocations: 7.984 kB / 0.9882 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.007984, allocations: 0 / 0.9882 GB, free: 12.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.008014, allocations: 83.28 kB / 0.9883 GB, free: 12.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008014, allocations: 0 / 0.9883 GB, free: 12.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000197/0.008211, allocations: 55.8 kB / 0.9883 GB, free: 12.3 MB / 0.948 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.0002043/0.008415, allocations: 163.5 kB / 0.9885 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.008533, allocations: 59.97 kB / 0.9885 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008535, allocations: 0 / 0.9885 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.008567, allocations: 35.92 kB / 0.9886 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.008729, allocations: 4 kB / 0.9886 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.009175, allocations: 266.2 kB / 0.9888 GB, free: 11.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.009225, allocations: 68.05 kB / 0.9889 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.009252, allocations: 16.5 kB / 0.9889 GB, free: 11.64 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.009253, allocations: 4 kB / 0.9889 GB, free: 11.64 MB / 0.948 GB Notification: Performance of Templates: time 0.002578/0.01183, allocations: 1.386 MB / 0.9903 GB, free: 10.26 MB / 0.948 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: 6.858802234753966]