Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001533, allocations: 105.4 kB / 15.7 MB, free: 28 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.001884/0.001884, allocations: 195.3 kB / 16.64 MB, free: 6.48 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001463/0.001463, allocations: 75.47 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002665/0.2319, allocations: 1.264 MB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.233, allocations: 0.6071 MB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.233, allocations: 0 / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2331, allocations: 3.984 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.2332, allocations: 11.92 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.2339, allocations: 143.4 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.234, allocations: 19.92 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.234, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.234, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.2341, allocations: 11.92 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.2341, allocations: 0 / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.2346, allocations: 343.3 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.2347, allocations: 15.97 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.2347, allocations: 7.938 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.235, allocations: 143.6 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.235, allocations: 0 / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.235, allocations: 0 / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.235, allocations: 4 kB / 0.7866 GB, free: 10.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004616/0.2355, allocations: 363.3 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2355, allocations: 8.031 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.2356, allocations: 4.875 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2357, allocations: 164.4 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2357, allocations: 8.375 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2358, allocations: 4.375 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2359, allocations: 46.25 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2359, allocations: 192 / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2359, allocations: 3.938 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2359, allocations: 0 / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.236, allocations: 15.92 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.2362, allocations: 153.7 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2364, allocations: 50.5 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.2364, allocations: 16.86 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2364, allocations: 0 / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2365, allocations: 34.56 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2365, allocations: 0 / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006558/0.2371, allocations: 326.4 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2372, allocations: 55.41 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.2373, allocations: 101.8 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2373, allocations: 29.7 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.2373, allocations: 84.12 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2374, allocations: 11.81 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.2374, allocations: 21.72 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2375, allocations: 314.8 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.2376, allocations: 12 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.2376, allocations: 12 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.2377, allocations: 32.84 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2377, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.2378, allocations: 77.52 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2378, allocations: 7.938 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2378, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2378, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.2379, allocations: 12 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.2379, allocations: 0 / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.2379, allocations: 0 / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2379, allocations: 8 kB / 0.7885 GB, free: 7.934 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 (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 6.807e-05/0.238, allocations: 110.5 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.238, allocations: 11.92 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.2382, allocations: 69.59 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2382, allocations: 0 / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2382, allocations: 4.125 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2382, allocations: 3.938 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.2385, allocations: 315.4 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2385, allocations: 7.984 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.2386, allocations: 8 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2386, allocations: 0 / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2386, allocations: 8 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2386, allocations: 3.938 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2386, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2389, allocations: 184.3 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.2389, allocations: 81.14 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2389, allocations: 3.938 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.239, allocations: 7.984 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.239, allocations: 0 / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2391, allocations: 8 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.2391, allocations: 75.28 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2391, allocations: 4 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002491/0.2394, allocations: 19.94 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001674/0.2395, allocations: 131.3 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.2397, allocations: 32.16 kB / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2397, allocations: 0 / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.2397, allocations: 16 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.2399, allocations: 10.98 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.2404, allocations: 212.6 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2406, allocations: 0.6807 MB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.2407, allocations: 12.14 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.2407, allocations: 11.44 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2407, allocations: 0 / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.002931/0.2436, allocations: 0.6411 MB / 0.7911 GB, free: 5.148 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)