Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 105.6 kB / 15.98 MB, free: 6.289 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.001702/0.001702, allocations: 197.9 kB / 16.91 MB, free: 6.148 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.428/1.428, allocations: 205.1 MB / 222.8 MB, free: 4.66 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.704/1.704, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001369/0.001369, allocations: 72.19 kB / 0.6717 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2278, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00228/0.2301, allocations: 1.34 MB / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.231, allocations: 0.6122 MB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.231, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.231, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.2311, allocations: 11.91 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.2316, allocations: 127.5 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.2317, allocations: 19.92 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.2317, allocations: 3.938 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.2318, allocations: 8 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.2318, allocations: 11.91 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.2318, allocations: 4 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.2323, allocations: 339.3 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2323, allocations: 11.98 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.2323, allocations: 11.94 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2325, allocations: 100.1 kB / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2325, allocations: 0 / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2325, allocations: 0 / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2325, allocations: 0 / 0.7861 GB, free: 11.28 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.0003981/0.2329, allocations: 359.4 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.233, allocations: 12.03 kB / 0.7864 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.233, allocations: 0.9375 kB / 0.7864 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2331, allocations: 168.4 kB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2331, allocations: 384 / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2332, allocations: 4.375 kB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2333, allocations: 54.11 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2333, allocations: 192 / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2333, allocations: 3.938 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2333, allocations: 0 / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.2334, allocations: 12 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2335, allocations: 153.7 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2337, allocations: 46.61 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.2338, allocations: 24.88 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2338, allocations: 0 / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2338, allocations: 34.56 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2338, allocations: 0 / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006168/0.2344, allocations: 306.1 kB / 0.7872 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2345, allocations: 55.41 kB / 0.7872 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.2346, allocations: 101.8 kB / 0.7873 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2346, allocations: 25.7 kB / 0.7874 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.2346, allocations: 84.14 kB / 0.7874 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.2346, allocations: 15.8 kB / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.2347, allocations: 21.72 kB / 0.7875 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2348, allocations: 314.8 kB / 0.7878 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.2348, allocations: 7.984 kB / 0.7878 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.2348, allocations: 16 kB / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.2349, allocations: 44.72 kB / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2349, allocations: 0 / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.437e-05/0.235, allocations: 69.73 kB / 0.7879 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.235, allocations: 7.938 kB / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.235, allocations: 0 / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2351, allocations: 0 / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.2351, allocations: 15.98 kB / 0.7879 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2351, allocations: 0 / 0.7879 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.2351, allocations: 0 / 0.7879 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2352, allocations: 4 kB / 0.7879 GB, free: 9.086 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 7.018e-05/0.2352, allocations: 117.8 kB / 0.788 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.2353, allocations: 3.938 kB / 0.788 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.2354, allocations: 81.7 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2354, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2354, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2354, allocations: 4.453 kB / 0.7881 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.2357, allocations: 311.4 kB / 0.7884 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2357, allocations: 8.031 kB / 0.7884 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.2358, allocations: 8 kB / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2358, allocations: 3.984 kB / 0.7884 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2358, allocations: 4 kB / 0.7884 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2358, allocations: 0 / 0.7884 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2358, allocations: 0 / 0.7884 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.236, allocations: 184.2 kB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.2361, allocations: 89.19 kB / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.2361, allocations: 0 / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.2362, allocations: 8 kB / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.2362, allocations: 0 / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.2362, allocations: 7.984 kB / 0.7887 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.2363, allocations: 75.28 kB / 0.7888 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2363, allocations: 0 / 0.7888 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002491/0.2365, allocations: 27.94 kB / 0.7888 GB, free: 8.055 MB / 0.6075 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 (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.0001792/0.2367, allocations: 127.2 kB / 0.7889 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.2368, allocations: 35.92 kB / 0.789 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2368, allocations: 0 / 0.789 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.2369, allocations: 23.92 kB / 0.789 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2371, allocations: 10.72 kB / 0.789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.2375, allocations: 238.1 kB / 0.7892 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2377, allocations: 0.6807 MB / 0.7899 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.2377, allocations: 11.42 kB / 0.7899 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2378, allocations: 4 kB / 0.7899 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Templates: time 0.00199/0.2397, allocations: 0.7918 MB / 0.7907 GB, free: 6.074 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)