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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.00093/0.0009303, allocations: 182.5 kB / 326.5 MB, free: 2.672 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.353/1.353, allocations: 205 MB / 0.5767 GB, free: 21 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.0006906/0.0006906, allocations: 89.59 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 13.88 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001126/0.1571, allocations: 1.01 MB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007783/0.1579, allocations: 0.6361 MB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.1579, allocations: 0 / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.1579, allocations: 3.938 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.385e-05/0.158, allocations: 4 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1584, allocations: 130.5 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.641e-05/0.1584, allocations: 11.94 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.1585, allocations: 4 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.1585, allocations: 19.86 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.1585, allocations: 4 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1586, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.1589, allocations: 339.4 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1589, allocations: 8 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.159, allocations: 19.86 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.1592, allocations: 147.9 kB / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1592, allocations: 0 / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1592, allocations: 0 / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.1592, allocations: 0 / 0.899 GB, free: 65.83 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000283/0.1595, allocations: 353.5 kB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1595, allocations: 12.02 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.1596, allocations: 4.938 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.457e-05/0.1596, allocations: 164.3 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1596, allocations: 4.375 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1597, allocations: 8.281 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.1598, allocations: 42.25 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1598, allocations: 4.125 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1598, allocations: 3.938 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1598, allocations: 0 / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.1598, allocations: 8 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.16, allocations: 161.6 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1601, allocations: 50.53 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.1601, allocations: 16.86 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1602, allocations: 0 / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.1602, allocations: 38.56 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1602, allocations: 0 / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004778/0.1607, allocations: 306.6 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.624e-05/0.1607, allocations: 59.34 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.53e-05/0.1608, allocations: 101.8 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.1608, allocations: 25.7 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.406e-05/0.1608, allocations: 80.14 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1608, allocations: 31.62 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.1609, allocations: 9.719 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.1609, allocations: 322.8 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.1609, allocations: 11.98 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.161, allocations: 12 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.161, allocations: 33.02 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.161, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.383e-05/0.1611, allocations: 65.67 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1612, allocations: 7.938 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1612, allocations: 0 / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1612, allocations: 0 / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.1612, allocations: 19.92 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1613, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.1613, allocations: 4 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1613, allocations: 4 kB / 0.9009 GB, free: 63.64 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 (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.557e-05/0.1613, allocations: 109.8 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.1614, allocations: 7.938 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1615, allocations: 77.55 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1615, allocations: 0 / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1615, allocations: 0 / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.1616, allocations: 77.11 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1616, allocations: 3.938 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.1616, allocations: 15.92 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1617, allocations: 4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001251/0.1618, allocations: 141 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001351/0.1619, allocations: 250.8 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.666e-05/0.162, allocations: 20.2 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.478e-05/0.162, allocations: 79.28 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of Backend: time 2.6e-07/0.162, allocations: 4.062 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.1624, allocations: 162.2 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003387/0.1628, allocations: 0.6284 MB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.00281/0.1656, allocations: 1.216 MB / 0.9036 GB, free: 60.79 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)