Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.3 MB / 308.1 MB, free: 4.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001877/0.001877, allocations: 199.8 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205 MB / 0.6353 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.0008809, allocations: 97.48 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009661/0.0009661, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2264, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002798/0.2292, allocations: 1.547 MB / 0.9837 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.2302, allocations: 0.6384 MB / 0.9844 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.2303, allocations: 4 kB / 0.9844 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.2303, allocations: 3.938 kB / 0.9844 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.2304, allocations: 7.922 kB / 0.9844 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.231, allocations: 135.6 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.2311, allocations: 47.86 kB / 0.9845 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.2311, allocations: 4 kB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.2312, allocations: 31.84 kB / 0.9846 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.2312, allocations: 27.91 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2312, allocations: 4 kB / 0.9846 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.2317, allocations: 347.3 kB / 0.9849 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.2317, allocations: 7.938 kB / 0.9849 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2317, allocations: 27.84 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.232, allocations: 179.7 kB / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.232, allocations: 0 / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.232, allocations: 0 / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2321, allocations: 0 / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005546/0.2326, allocations: 399.4 kB / 0.9855 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2327, allocations: 8.031 kB / 0.9855 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.2327, allocations: 8.844 kB / 0.9855 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2328, allocations: 176.3 kB / 0.9857 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2328, allocations: 8.375 kB / 0.9857 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.2329, allocations: 8.281 kB / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.2331, allocations: 78.22 kB / 0.9858 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2331, allocations: 192 / 0.9858 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.2331, allocations: 11.94 kB / 0.9858 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2331, allocations: 4 kB / 0.9858 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.2334, allocations: 47.95 kB / 0.9859 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.2339, allocations: 320.6 kB / 0.9862 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2342, allocations: 82.53 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.2343, allocations: 32.83 kB / 0.9863 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2343, allocations: 0 / 0.9863 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2343, allocations: 34.5 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2343, allocations: 0 / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001511/0.2359, allocations: 0.6579 MB / 0.987 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2359, allocations: 55.41 kB / 0.987 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.236, allocations: 101.8 kB / 0.9871 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.236, allocations: 29.7 kB / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.2361, allocations: 88.12 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.2361, allocations: 51.34 kB / 0.9873 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.2361, allocations: 25.72 kB / 0.9873 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.2362, allocations: 314.8 kB / 0.9876 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2364, allocations: 35.98 kB / 0.9876 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2365, allocations: 35.97 kB / 0.9877 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.2367, allocations: 72.77 kB / 0.9877 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2368, allocations: 3.938 kB / 0.9877 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002953/0.2371, allocations: 122 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2371, allocations: 4 kB / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2371, allocations: 0 / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2371, allocations: 4 kB / 0.9879 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2372, allocations: 23.98 kB / 0.9879 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2373, allocations: 4 kB / 0.9879 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.2373, allocations: 11.92 kB / 0.9879 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2374, allocations: 4 kB / 0.9879 GB, free: 4.238 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 7.84e-05/0.2374, allocations: 121.8 kB / 0.988 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.2375, allocations: 8.094 kB / 0.988 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.2378, allocations: 133.6 kB / 0.9881 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2378, allocations: 3.984 kB / 0.9882 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2378, allocations: 4 kB / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2379, allocations: 3.938 kB / 0.9882 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.2384, allocations: 378.4 kB / 0.9885 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2384, allocations: 0 / 0.9885 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.2385, allocations: 31.98 kB / 0.9886 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2385, allocations: 4 kB / 0.9886 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2386, allocations: 3.938 kB / 0.9886 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2386, allocations: 0 / 0.9886 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2386, allocations: 0 / 0.9886 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.2412, allocations: 1.368 MB / 0.9899 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.2413, allocations: 77.14 kB / 0.99 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2413, allocations: 8 kB / 0.99 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2414, allocations: 12.08 kB / 0.99 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.2415, allocations: 7.984 kB / 0.99 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2415, allocations: 8 kB / 0.99 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.2415, allocations: 75.28 kB / 0.9901 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.2415, allocations: 0 / 0.9901 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003721/0.2419, allocations: 43.98 kB / 0.9901 GB, free: 1.715 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.0002301/0.2421, allocations: 131.3 kB / 0.9902 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2425, allocations: 87.83 kB / 0.9903 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2425, allocations: 0 / 0.9903 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2426, allocations: 47.91 kB / 0.9904 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.243, allocations: 15.92 kB / 0.9904 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.2437, allocations: 481.9 kB / 0.9908 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.244, allocations: 0.6926 MB / 0.9915 GB, free: 200 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.2441, allocations: 16.66 kB / 0.9915 GB, free: 184 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.2441, allocations: 15.38 kB / 0.9916 GB, free: 168 kB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.2441, allocations: 3.938 kB / 0.9916 GB, free: 164 kB / 0.7136 GB Notification: Performance of Templates: time 0.003364/0.2475, allocations: 1.142 MB / 0.9927 GB, free: 15.02 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)