Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 98.75 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 193.8 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.711 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 68.48 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002492/0.3321, allocations: 1.272 MB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3332, allocations: 0.6126 MB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.3333, allocations: 0 / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.3333, allocations: 3.938 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.3333, allocations: 3.984 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.3339, allocations: 152.6 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.3339, allocations: 19.94 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.334, allocations: 7.984 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.334, allocations: 7.938 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.3341, allocations: 7.938 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3341, allocations: 4 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005544/0.3346, allocations: 339.3 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3347, allocations: 7.984 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.3347, allocations: 19.88 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.335, allocations: 132 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.335, allocations: 11.94 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.335, allocations: 0 / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.335, allocations: 0 / 1.021 GB, free: 8.039 MB / 0.795 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.0004302/0.3354, allocations: 367.3 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3355, allocations: 12.92 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3355, allocations: 0.9375 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3357, allocations: 168.3 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3357, allocations: 4.375 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3357, allocations: 384 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3358, allocations: 46.25 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3358, allocations: 192 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3359, allocations: 3.938 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3359, allocations: 3.984 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.3359, allocations: 15.92 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.3361, allocations: 157.7 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3363, allocations: 42.56 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.3363, allocations: 16.86 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3364, allocations: 4 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3364, allocations: 30.56 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3364, allocations: 0 / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006305/0.337, allocations: 314.2 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3371, allocations: 55.34 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/0.3372, allocations: 101.9 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3372, allocations: 25.7 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.3372, allocations: 84.12 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3373, allocations: 23.7 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3373, allocations: 17.72 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3375, allocations: 318.8 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.3375, allocations: 8 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.3375, allocations: 12 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.3376, allocations: 36.84 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3376, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.3377, allocations: 69.62 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3377, allocations: 7.938 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3377, allocations: 3.938 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3377, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.3378, allocations: 11.94 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3378, allocations: 4 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.3378, allocations: 0 / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3378, allocations: 0 / 1.022 GB, free: 5.84 MB / 0.795 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 7.978e-05/0.3379, allocations: 117.8 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.3379, allocations: 7.844 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.3381, allocations: 73.58 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3381, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3381, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3381, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.3385, allocations: 315.6 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3385, allocations: 11.92 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.3386, allocations: 16.03 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3386, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3386, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3386, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3386, allocations: 4 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3388, allocations: 176.8 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.3389, allocations: 85.05 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3389, allocations: 4.062 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.339, allocations: 7.984 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.339, allocations: 7.938 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3391, allocations: 3.984 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.3391, allocations: 79.28 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3391, allocations: 0 / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002468/0.3394, allocations: 27.94 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002345/0.3396, allocations: 119.2 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3397, allocations: 43.92 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3397, allocations: 0 / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.3398, allocations: 16 kB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.34, allocations: 8.078 kB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.3404, allocations: 226 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.3408, allocations: 0.6884 MB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.3409, allocations: 11.44 kB / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3409, allocations: 0 / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of Templates: time 0.002419/0.3433, allocations: 0.7973 MB / 1.025 GB, free: 2.84 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)