Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001261/0.001261, 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.001555/0.001555, 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.9763/0.9763, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.869/1.869, allocations: 378.2 MB / 0.624 GB, free: 8.332 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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9827 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.331e-05, allocations: 6.281 kB / 0.9827 GB, free: 2.301 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001935/0.001968, allocations: 1.321 MB / 0.984 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00077/0.002738, allocations: 0.5448 MB / 0.9846 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.002771, allocations: 0 / 0.9846 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.002794, allocations: 0 / 0.9846 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.002838, allocations: 7.938 kB / 0.9846 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.003316, allocations: 162 kB / 0.9847 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.003387, allocations: 23.86 kB / 0.9848 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.003441, allocations: 4 kB / 0.9848 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.003497, allocations: 11.98 kB / 0.9848 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.003549, allocations: 7.984 kB / 0.9848 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.003562, allocations: 3.938 kB / 0.9848 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.003875, allocations: 315.3 kB / 0.9851 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.003894, allocations: 3.938 kB / 0.9851 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.003915, allocations: 8 kB / 0.9851 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.004175, allocations: 171.4 kB / 0.9853 GB, free: 15.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.004178, allocations: 0 / 0.9853 GB, free: 15.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00418, allocations: 0 / 0.9853 GB, free: 15.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004184, allocations: 0 / 0.9853 GB, free: 15.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004122/0.004597, allocations: 278 kB / 0.9855 GB, free: 15.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.00464, allocations: 12.03 kB / 0.9855 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.004684, allocations: 4.891 kB / 0.9855 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.004774, allocations: 109.8 kB / 0.9856 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.004788, allocations: 384 / 0.9856 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.004812, allocations: 4.375 kB / 0.9856 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.004935, allocations: 63.95 kB / 0.9857 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.004944, allocations: 4.188 kB / 0.9857 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.004956, allocations: 384 / 0.9857 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004962, allocations: 4.375 kB / 0.9857 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.005015, allocations: 15.88 kB / 0.9857 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.00516, allocations: 113.3 kB / 0.9858 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.005362, allocations: 46.56 kB / 0.9859 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.00539, allocations: 12.86 kB / 0.9859 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.005422, allocations: 4 kB / 0.9859 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.005445, allocations: 34.56 kB / 0.9859 GB, free: 14.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.005446, allocations: 7.984 kB / 0.9859 GB, free: 14.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.00054/0.005986, allocations: 233.2 kB / 0.9862 GB, free: 14.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.006017, allocations: 55.34 kB / 0.9862 GB, free: 14.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.006068, allocations: 97.86 kB / 0.9863 GB, free: 14.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.006077, allocations: 25.7 kB / 0.9863 GB, free: 14.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.006104, allocations: 80.14 kB / 0.9864 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.006129, allocations: 31.73 kB / 0.9864 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.006158, allocations: 17.72 kB / 0.9865 GB, free: 14.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.006255, allocations: 318.8 kB / 0.9868 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.006279, allocations: 11.98 kB / 0.9868 GB, free: 13.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.006297, allocations: 16 kB / 0.9868 GB, free: 13.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.006343, allocations: 33.02 kB / 0.9868 GB, free: 13.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.006344, allocations: 0 / 0.9868 GB, free: 13.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.592e-05/0.00642, allocations: 73.59 kB / 0.9869 GB, free: 13.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006435, allocations: 4 kB / 0.9869 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006439, allocations: 0 / 0.9869 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.006452, allocations: 0 / 0.9869 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.006502, allocations: 15.98 kB / 0.9869 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.006508, allocations: 3.938 kB / 0.9869 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.006518, allocations: 0 / 0.9869 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006523, allocations: 0 / 0.9869 GB, free: 13.82 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 (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 5.609e-05/0.006579, allocations: 117.8 kB / 0.987 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.006586, allocations: 0 / 0.987 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.006691, allocations: 81.8 kB / 0.9871 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006693, allocations: 0 / 0.9871 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.006697, allocations: 3.938 kB / 0.9871 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.0067, allocations: 0 / 0.9871 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.006933, allocations: 255.1 kB / 0.9874 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006934, allocations: 0 / 0.9874 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.006983, allocations: 23.92 kB / 0.9874 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006986, allocations: 0 / 0.9874 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.006992, allocations: 7.969 kB / 0.9874 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.006994, allocations: 7.938 kB / 0.9874 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006995, allocations: 0 / 0.9874 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.007121, allocations: 172.4 kB / 0.9876 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.007138, allocations: 4 kB / 0.9876 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.00715, allocations: 7.938 kB / 0.9876 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.007191, allocations: 0 / 0.9876 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.007208, allocations: 11.92 kB / 0.9876 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.007212, allocations: 0 / 0.9876 GB, free: 13.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.007237, allocations: 83.28 kB / 0.9877 GB, free: 12.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007237, allocations: 0 / 0.9877 GB, free: 12.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001795/0.007417, allocations: 35.92 kB / 0.9877 GB, free: 12.95 MB / 0.948 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.0002005/0.007617, allocations: 143.6 kB / 0.9878 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.757e-05/0.007695, allocations: 27.98 kB / 0.9879 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.007696, allocations: 0 / 0.9879 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.007713, allocations: 15.94 kB / 0.9879 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.007879, allocations: 7.984 kB / 0.9879 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.008186, allocations: 208.2 kB / 0.9881 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.008225, allocations: 63.34 kB / 0.9881 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.008244, allocations: 12.5 kB / 0.9881 GB, free: 12.41 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.008244, allocations: 0 / 0.9881 GB, free: 12.41 MB / 0.948 GB Notification: Performance of Templates: time 0.002034/0.01028, allocations: 0.9463 MB / 0.9891 GB, free: 11.47 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.076345064677298]