Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 251.5 MB / 267.4 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009411/0.000941, allocations: 169.8 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205 MB / 0.5767 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007099/0.0007098, allocations: 87.97 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 9.406 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1595, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001303/0.1609, allocations: 1.206 MB / 0.8979 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.1617, allocations: 0.6595 MB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.1617, allocations: 0 / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.1617, allocations: 4 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.1618, allocations: 7.938 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.1622, allocations: 131.6 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.1623, allocations: 55.55 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.1623, allocations: 7.938 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.1624, allocations: 23.91 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.1624, allocations: 31.91 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1624, allocations: 4 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.1628, allocations: 347.3 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1628, allocations: 7.938 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1629, allocations: 23.86 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1631, allocations: 171.6 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1631, allocations: 0 / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1631, allocations: 3.938 kB / 0.8994 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1631, allocations: 0 / 0.8994 GB, free: 65.48 MB / 0.6042 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.0004163/0.1635, allocations: 391.3 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1635, allocations: 8.031 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.1636, allocations: 12.84 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.1637, allocations: 172.3 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1637, allocations: 4.375 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1637, allocations: 16.28 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1639, allocations: 92.02 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1639, allocations: 192 / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.164, allocations: 3.938 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.164, allocations: 0 / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1642, allocations: 55.95 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1646, allocations: 332.7 kB / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1648, allocations: 90.47 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/0.1649, allocations: 28.84 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.165, allocations: 4 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.165, allocations: 34.56 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.165, allocations: 3.938 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001288/0.1663, allocations: 0.6696 MB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.25e-05/0.1663, allocations: 59.39 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.1664, allocations: 101.9 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.1664, allocations: 29.64 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.1664, allocations: 96.06 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.1664, allocations: 35.38 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.1665, allocations: 21.8 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.1665, allocations: 322.7 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1666, allocations: 40.09 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1667, allocations: 35.98 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.167, allocations: 87.27 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.167, allocations: 0 / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002564/0.1672, allocations: 117.7 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1672, allocations: 8 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1673, allocations: 3.984 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1673, allocations: 0 / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1674, allocations: 35.92 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1674, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.1675, allocations: 11.94 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1675, allocations: 4 kB / 0.9022 GB, free: 62.29 MB / 0.6042 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 5.159e-05/0.1676, allocations: 121.8 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1676, allocations: 3.906 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.1679, allocations: 137.5 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1679, allocations: 0 / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1679, allocations: 0 / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.168, allocations: 88.94 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.168, allocations: 4 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1681, allocations: 4.188 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.1681, allocations: 15.92 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003466/0.1685, allocations: 212.9 kB / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004073/0.1689, allocations: 350.5 kB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001162/0.169, allocations: 44 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.169, allocations: 75.28 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of Backend: time 1.91e-07/0.169, allocations: 64 / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.1696, allocations: 210.6 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004867/0.1701, allocations: 0.7502 MB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.00323/0.1733, allocations: 1.672 MB / 0.9057 GB, free: 58.56 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)