Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.612/2.612, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001619/0.001619, allocations: 185.1 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 84.47 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006554, allocations: 16.84 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2325, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001342/0.2339, allocations: 0.9882 MB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00069/0.2346, allocations: 325.8 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.2347, allocations: 0 / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.2347, allocations: 0 / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.2347, allocations: 3.984 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.2351, allocations: 64.53 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.2352, allocations: 11.98 kB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2353, allocations: 7.984 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.2353, allocations: 11.94 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.2354, allocations: 11.98 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2354, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.2357, allocations: 179.7 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.2358, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.2358, allocations: 29.7 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.236, allocations: 56.16 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.236, allocations: 3.938 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.816e-06/0.236, allocations: 0 / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.236, allocations: 3.938 kB / 0.9798 GB, free: 26.67 MB / 0.6198 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.0003472/0.2364, allocations: 341.3 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2364, allocations: 16.02 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.2365, allocations: 4 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.2366, allocations: 167 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2366, allocations: 4 kB / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.2366, allocations: 0 / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.2368, allocations: 41.69 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2368, allocations: 0 / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2368, allocations: 0 / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2368, allocations: 4 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.2369, allocations: 12 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.237, allocations: 161.6 kB / 0.9805 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2372, allocations: 42.55 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2373, allocations: 0 / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2373, allocations: 42.56 kB / 0.9806 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.2373, allocations: 7.984 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006537/0.238, allocations: 310.3 kB / 0.9809 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.238, allocations: 51.41 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.2381, allocations: 97.86 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2381, allocations: 29.64 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.2382, allocations: 80.14 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2382, allocations: 27.69 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2382, allocations: 0 / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.2383, allocations: 318.8 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.2383, allocations: 15.98 kB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.2384, allocations: 12 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.2384, allocations: 8 kB / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2384, allocations: 0 / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/0.2386, allocations: 69.59 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2386, allocations: 5.25 kB / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2386, allocations: 3.938 kB / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2387, allocations: 4 kB / 0.9816 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.2388, allocations: 15.94 kB / 0.9816 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2388, allocations: 3.984 kB / 0.9816 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.2388, allocations: 0 / 0.9816 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2388, allocations: 4 kB / 0.9816 GB, free: 24.55 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.2389, allocations: 113.8 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.2389, allocations: 4 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.2391, allocations: 65.89 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2391, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2391, allocations: 3.984 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2391, allocations: 4 kB / 0.9818 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.2395, allocations: 319.4 kB / 0.9821 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2395, allocations: 0 / 0.9821 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2396, allocations: 12 kB / 0.9821 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.2396, allocations: 3.938 kB / 0.9821 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2397, allocations: 4 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2397, allocations: 3.938 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2397, allocations: 7.969 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.2399, allocations: 190.3 kB / 0.9823 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.2399, allocations: 89.12 kB / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.24, allocations: 0 / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2401, allocations: 8 kB / 0.9824 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.2401, allocations: 0 / 0.9824 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2401, allocations: 4 kB / 0.9824 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.2402, allocations: 83.33 kB / 0.9825 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2402, allocations: 0 / 0.9825 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003384/0.2405, allocations: 27.89 kB / 0.9825 GB, free: 23.51 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/0.2407, allocations: 119.2 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2409, allocations: 31.98 kB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2409, allocations: 0 / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.2409, allocations: 19.94 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.2411, allocations: 8.062 kB / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.2416, allocations: 222.1 kB / 0.9829 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2418, allocations: 0.6809 MB / 0.9836 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.973e-05/0.2418, allocations: 4 kB / 0.9836 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.2419, allocations: 11.44 kB / 0.9836 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2419, allocations: 3.938 kB / 0.9836 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.003707/0.2456, allocations: 0.6228 MB / 0.9842 GB, free: 21.76 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)