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.001513/0.001513, allocations: 109.8 kB / 16.38 MB, free: 6.008 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.001774/0.001774, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.268/1.268, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001511/0.001511, allocations: 71.84 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2041, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002373/0.2065, allocations: 1.27 MB / 0.7861 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.2075, allocations: 0.6149 MB / 0.7867 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.2075, allocations: 0 / 0.7867 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.2076, allocations: 0 / 0.7867 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.2076, allocations: 7.875 kB / 0.7867 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.2081, allocations: 151.4 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.2082, allocations: 19.92 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.2082, allocations: 4 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.2083, allocations: 7.984 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.2083, allocations: 11.94 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2083, allocations: 0 / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.2088, allocations: 347.3 kB / 0.7872 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.2088, allocations: 0 / 0.7872 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.2089, allocations: 11.92 kB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.2091, allocations: 151.6 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2091, allocations: 0 / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2092, allocations: 4 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2092, allocations: 0 / 0.7873 GB, free: 0.5938 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004598/0.2096, allocations: 363.4 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2097, allocations: 8.031 kB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.2097, allocations: 4.844 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3254/0.5351, allocations: 165.1 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5352, allocations: 5.188 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.5352, allocations: 3.031 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5353, allocations: 37.44 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5353, allocations: 2.188 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5354, allocations: 1.938 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5354, allocations: 0 / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.5354, allocations: 21.34 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.5356, allocations: 159.2 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.5358, allocations: 48.36 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.5358, allocations: 14.97 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.5358, allocations: 3.281 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5358, allocations: 38.22 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.5359, allocations: 0 / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005167/0.5364, allocations: 304 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.5364, allocations: 51.91 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/0.5365, allocations: 100.4 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.5365, allocations: 27.8 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.315e-05/0.5365, allocations: 83.33 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.5365, allocations: 23.64 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.5365, allocations: 22.55 kB / 0.7888 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.5366, allocations: 316.3 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.5366, allocations: 12.62 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.5366, allocations: 9.656 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.5367, allocations: 33.28 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5367, allocations: 2.844 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.967e-05/0.5368, allocations: 60.27 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5368, allocations: 9.422 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5368, allocations: 1.797 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5368, allocations: 6.594 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.5369, allocations: 17.91 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5369, allocations: 0.875 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.5369, allocations: 3.812 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.5369, allocations: 0 / 0.7892 GB, free: 47.64 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 (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 4.387e-05/0.537, allocations: 116.6 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.537, allocations: 3.906 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.5371, allocations: 75.55 kB / 0.7894 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5371, allocations: 5.906 kB / 0.7894 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5371, allocations: 0 / 0.7894 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.5372, allocations: 81.33 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5372, allocations: 7.406 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.5373, allocations: 4.562 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.5373, allocations: 2.719 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001198/0.5374, allocations: 145.7 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001342/0.5375, allocations: 258.1 kB / 0.7899 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.641e-05/0.5376, allocations: 11.62 kB / 0.7899 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.5376, allocations: 88.8 kB / 0.79 GB, free: 47 MB / 0.6544 GB Notification: Performance of Backend: time 5.91e-07/0.5376, allocations: 0 / 0.79 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.5381, allocations: 162.6 kB / 0.7901 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003502/0.5385, allocations: 0.6168 MB / 0.7907 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003047/0.5415, allocations: 1.254 MB / 0.792 GB, free: 46.3 MB / 0.6544 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)