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.001078/0.001078, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.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.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001459/0.001459, allocations: 70.61 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2335, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002638/0.2362, allocations: 1.476 MB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2372, allocations: 0.6276 MB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.2373, allocations: 0 / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.2373, allocations: 3.938 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.2374, allocations: 11.92 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.238, allocations: 163.4 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.2381, allocations: 47.84 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.2381, allocations: 7.938 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.2382, allocations: 23.97 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.2383, allocations: 27.86 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2383, allocations: 4 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.2388, allocations: 347.3 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.2388, allocations: 7.984 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2388, allocations: 31.8 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2391, allocations: 187.5 kB / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2391, allocations: 0 / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2391, allocations: 4 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2391, allocations: 0 / 0.787 GB, free: 9.797 MB / 0.6075 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.0005796/0.2397, allocations: 395.3 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2398, allocations: 8.031 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.2398, allocations: 12.78 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2399, allocations: 164.4 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.24, allocations: 8.375 kB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.24, allocations: 8.375 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.2403, allocations: 85.03 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2403, allocations: 4.188 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.2403, allocations: 7.938 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2403, allocations: 0 / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.2405, allocations: 47.95 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.2411, allocations: 320.6 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.2414, allocations: 82.47 kB / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2415, allocations: 32.83 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2415, allocations: 0 / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2416, allocations: 38.56 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.2416, allocations: 0 / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00158/0.2431, allocations: 0.6423 MB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2432, allocations: 55.41 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.2433, allocations: 105.8 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2433, allocations: 29.7 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.2433, allocations: 88.05 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.2434, allocations: 43.38 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.2434, allocations: 25.72 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2435, allocations: 326.8 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2437, allocations: 31.97 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2438, allocations: 27.98 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.2441, allocations: 72.83 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2441, allocations: 0 / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003055/0.2444, allocations: 121.7 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2444, allocations: 4 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2444, allocations: 0 / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2444, allocations: 4 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2446, allocations: 31.92 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2446, allocations: 3.984 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.2447, allocations: 11.94 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2447, allocations: 4 kB / 0.7897 GB, free: 6.688 MB / 0.6075 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.781e-05/0.2448, allocations: 117.8 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.2448, allocations: 8.094 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.2452, allocations: 141.5 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2452, allocations: 0 / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2452, allocations: 0 / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2452, allocations: 3.938 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.2458, allocations: 378.5 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2458, allocations: 4 kB / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2459, allocations: 27.92 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.246, allocations: 0 / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.246, allocations: 7.938 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.246, allocations: 4 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.246, allocations: 0 / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.2465, allocations: 256.8 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.2465, allocations: 77.11 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2466, allocations: 11.95 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2467, allocations: 4 kB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.2467, allocations: 11.98 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2467, allocations: 0 / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.2468, allocations: 83.22 kB / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2468, allocations: 0 / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002737/0.247, allocations: 39.98 kB / 0.7909 GB, free: 5.426 MB / 0.6075 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.0002052/0.2473, allocations: 139.2 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.2476, allocations: 79.94 kB / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2476, allocations: 3.938 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2477, allocations: 43.98 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.248, allocations: 10.83 kB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.2487, allocations: 325.5 kB / 0.7914 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2489, allocations: 0.6924 MB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.249, allocations: 16.61 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.249, allocations: 15.44 kB / 0.7921 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.249, allocations: 0 / 0.7921 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.003387/0.2524, allocations: 1.128 MB / 0.7933 GB, free: 2.957 MB / 0.6075 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)