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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 101.2 kB / 16.29 MB, free: 5.949 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.001344/0.001344, allocations: 181 kB / 17.22 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 0.5495 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 114.6 MB / 0.7841 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0033/0.2483, allocations: 1.479 MB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2494, allocations: 0.6344 MB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.2495, allocations: 0 / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2495, allocations: 3.938 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.2496, allocations: 7.922 kB / 0.7862 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.2503, allocations: 163.4 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.2504, allocations: 55.78 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.2504, allocations: 4 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.2505, allocations: 19.92 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.2506, allocations: 31.89 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2506, allocations: 4 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.2511, allocations: 339.4 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.2511, allocations: 15.92 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.2512, allocations: 31.86 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.2515, allocations: 171.8 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2515, allocations: 0 / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2515, allocations: 0 / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2515, allocations: 0 / 0.787 GB, free: 0.9336 MB / 0.6544 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.0005734/0.2521, allocations: 407.2 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2522, allocations: 12.03 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2522, allocations: 4.844 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2523, allocations: 172.3 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.2524, allocations: 8.375 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.2524, allocations: 8.375 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2526, allocations: 77.97 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2527, allocations: 192 / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2527, allocations: 7.938 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2527, allocations: 4 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.2529, allocations: 51.89 kB / 0.7877 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3802/0.6331, allocations: 315.8 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.6335, allocations: 85.77 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.6337, allocations: 32.42 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.6337, allocations: 4.5 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.6337, allocations: 30.56 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.6337, allocations: 2.594 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001939/0.6357, allocations: 0.6437 MB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.6357, allocations: 51.41 kB / 0.7888 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.6358, allocations: 103.2 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.6358, allocations: 28.39 kB / 0.7889 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.6359, allocations: 86.95 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.6359, allocations: 50.95 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.636, allocations: 25.61 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.636, allocations: 326.1 kB / 0.7894 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.6362, allocations: 33 kB / 0.7894 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.6364, allocations: 36.02 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.6367, allocations: 73.86 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6367, allocations: 0 / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004/0.6371, allocations: 117 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6372, allocations: 5.156 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6372, allocations: 0 / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6372, allocations: 2.719 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.6374, allocations: 28.44 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.6374, allocations: 3.906 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.6375, allocations: 11.19 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6376, allocations: 3.375 kB / 0.7897 GB, free: 47.43 MB / 0.6544 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 6.87e-05/0.6376, allocations: 122.8 kB / 0.7898 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.6377, allocations: 6.781 kB / 0.7898 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.6381, allocations: 129.3 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6382, allocations: 2.531 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6382, allocations: 0 / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6382, allocations: 3.375 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.6388, allocations: 383 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6389, allocations: 0 / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.6391, allocations: 32.75 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6391, allocations: 0 / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6391, allocations: 5.5 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6391, allocations: 0 / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6391, allocations: 4.438 kB / 0.7904 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.6397, allocations: 249.1 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.6398, allocations: 86.14 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.6398, allocations: 4.719 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.64, allocations: 9.641 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.64, allocations: 11.41 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.6401, allocations: 4.75 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.769e-05/0.6401, allocations: 83.84 kB / 0.7908 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6401, allocations: 0.75 kB / 0.7908 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004999/0.6406, allocations: 35.45 kB / 0.7908 GB, free: 46.67 MB / 0.6544 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.0002738/0.6409, allocations: 138.5 kB / 0.7909 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.6413, allocations: 82.11 kB / 0.791 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6414, allocations: 2.094 kB / 0.791 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.6416, allocations: 48.36 kB / 0.7911 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.6421, allocations: 9.219 kB / 0.7911 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.6429, allocations: 312.2 kB / 0.7914 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.643, allocations: 0.6963 MB / 0.7921 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.856e-05/0.6431, allocations: 11.33 kB / 0.7921 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.6432, allocations: 18.56 kB / 0.7921 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6432, allocations: 0 / 0.7921 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.004689/0.6479, allocations: 1.129 MB / 0.7932 GB, free: 45.66 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)