Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 115.2 kB / 16.42 MB, free: 6.473 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.0009748/0.0009748, allocations: 186.6 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 279.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 99.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3725, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001997/0.3745, allocations: 1.28 MB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.3754, allocations: 0.6089 MB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.3755, allocations: 4 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.3755, allocations: 7.922 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.178e-05/0.3755, allocations: 4 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3761, allocations: 153.4 kB / 0.7691 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.3761, allocations: 27.86 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.3762, allocations: 7.984 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.3762, allocations: 7.938 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.3762, allocations: 19.92 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3763, allocations: 7.984 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.3767, allocations: 339.4 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.3768, allocations: 7.938 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3768, allocations: 15.92 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.377, allocations: 145.9 kB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3771, allocations: 0 / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3771, allocations: 0 / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.3771, allocations: 0 / 0.7696 GB, free: 1.297 MB / 0.5294 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.0003624/0.3774, allocations: 371.3 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3775, allocations: 8.031 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3775, allocations: 12.92 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3776, allocations: 168.3 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3776, allocations: 12.31 kB / 0.7702 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3777, allocations: 4.375 kB / 0.7702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.3778, allocations: 46.23 kB / 0.7702 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3778, allocations: 192 / 0.7702 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3778, allocations: 11.94 kB / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3778, allocations: 0 / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.3779, allocations: 23.92 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.3781, allocations: 169.6 kB / 0.7704 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.429e-05/0.3782, allocations: 62.48 kB / 0.7705 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3782, allocations: 24.86 kB / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3782, allocations: 0 / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3783, allocations: 34.56 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3783, allocations: 0 / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001057/0.3793, allocations: 0.5878 MB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.3794, allocations: 55.34 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/0.3794, allocations: 97.84 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3795, allocations: 29.7 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.3795, allocations: 84.27 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3795, allocations: 39.39 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3796, allocations: 29.72 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3797, allocations: 318.8 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.3797, allocations: 16 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.3798, allocations: 23.98 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.3799, allocations: 52.84 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3799, allocations: 0 / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001385/0.38, allocations: 112 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.38, allocations: 6.812 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.38, allocations: 0 / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.3801, allocations: 0 / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3802, allocations: 27.92 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3802, allocations: 0 / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.3802, allocations: 0 / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3802, allocations: 8 kB / 0.772 GB, free: 14.59 MB / 0.545 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 6.878e-05/0.3803, allocations: 116.2 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3803, allocations: 7.938 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.3805, allocations: 117.5 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3805, allocations: 0 / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3805, allocations: 0 / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.3806, allocations: 81.02 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3806, allocations: 8 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.3807, allocations: 3.984 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3807, allocations: 7.984 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002156/0.3809, allocations: 180.9 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002522/0.3812, allocations: 302.6 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.786e-05/0.3812, allocations: 32.02 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.3813, allocations: 75.28 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of Backend: time 2.3e-07/0.3813, allocations: 0 / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3818, allocations: 182.6 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005496/0.3823, allocations: 0.6974 MB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Templates: time 0.003714/0.3861, allocations: 1.551 MB / 0.7752 GB, free: 11.18 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)