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_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009426/0.0009426, allocations: 183.9 kB / 326.5 MB, free: 2.707 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.427/1.427, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0006925/0.0006926, allocations: 95.84 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 9.406 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 105.4 MB / 0.8968 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001122/0.1411, allocations: 1.018 MB / 0.8977 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.1419, allocations: 0.6438 MB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.1419, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1419, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.142, allocations: 3.984 kB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.1425, allocations: 127.5 kB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.1425, allocations: 23.92 kB / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.1426, allocations: 11.98 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.1426, allocations: 11.94 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.1427, allocations: 19.91 kB / 0.8986 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1427, allocations: 0 / 0.8986 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.143, allocations: 343.3 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1431, allocations: 3.984 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.1431, allocations: 15.92 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1433, allocations: 155.8 kB / 0.8991 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1433, allocations: 4 kB / 0.8991 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1433, allocations: 0 / 0.8991 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.1433, allocations: 0 / 0.8991 GB, free: 65.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002968/0.1436, allocations: 363.3 kB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1437, allocations: 8.031 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1437, allocations: 4.938 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.044e-05/0.1438, allocations: 160.4 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1438, allocations: 12.36 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1438, allocations: 8.281 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/0.1439, allocations: 46.25 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1439, allocations: 192 / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.144, allocations: 11.94 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.144, allocations: 0 / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.144, allocations: 27.91 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.1441, allocations: 161.7 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.806e-05/0.1442, allocations: 62.55 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.1443, allocations: 28.86 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1443, allocations: 3.938 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.1443, allocations: 34.56 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1443, allocations: 0 / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0008394/0.1452, allocations: 0.5955 MB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.28e-05/0.1452, allocations: 51.41 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.478e-05/0.1452, allocations: 97.84 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1452, allocations: 29.7 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.165e-05/0.1453, allocations: 87.94 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1453, allocations: 35.45 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.1453, allocations: 17.72 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.1454, allocations: 327 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.1454, allocations: 16 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.1454, allocations: 23.98 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.1455, allocations: 50.73 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1455, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001091/0.1456, allocations: 109.5 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1456, allocations: 8 kB / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1456, allocations: 0 / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1457, allocations: 0 / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.1458, allocations: 23.98 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1458, allocations: 4 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.1458, allocations: 4 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1458, allocations: 4 kB / 0.9014 GB, free: 63.16 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 4.46e-05/0.1459, allocations: 109.8 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.1459, allocations: 11.84 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.146, allocations: 109.6 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.146, allocations: 4 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.146, allocations: 4 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.1461, allocations: 77.11 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1461, allocations: 4 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.1461, allocations: 4 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.1462, allocations: 8.078 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001631/0.1463, allocations: 192.9 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001834/0.1465, allocations: 298.6 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.999e-05/0.1466, allocations: 28.02 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.333e-05/0.1466, allocations: 75.28 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of Backend: time 2.7e-07/0.1466, allocations: 0 / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.147, allocations: 184.6 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004222/0.1475, allocations: 0.7305 MB / 0.9032 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.002981/0.1505, allocations: 1.456 MB / 0.9046 GB, free: 59.8 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)