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.001291/0.001291, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001056/0.001056, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 284.8 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.9317/0.9317, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003402/0.003403, allocations: 103.8 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.385, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001977/0.387, allocations: 1.265 MB / 0.7683 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.3879, allocations: 0.6245 MB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.388, allocations: 0 / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.388, allocations: 7.938 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.388, allocations: 3.938 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.3885, allocations: 151.3 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.3886, allocations: 23.92 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.3886, allocations: 11.98 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.3887, allocations: 4 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.3887, allocations: 19.91 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3888, allocations: 4 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.3892, allocations: 347.3 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3893, allocations: 7.922 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3893, allocations: 11.94 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3895, allocations: 153.9 kB / 0.7696 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3895, allocations: 3.938 kB / 0.7696 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3895, allocations: 0 / 0.7696 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.3896, allocations: 0 / 0.7696 GB, free: 1.273 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.0003778/0.3899, allocations: 371.3 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.39, allocations: 8.031 kB / 0.77 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.39, allocations: 8.938 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3901, allocations: 164.4 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3901, allocations: 4.375 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3902, allocations: 4.375 kB / 0.7702 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3903, allocations: 46.25 kB / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3903, allocations: 192 / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3903, allocations: 7.938 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3903, allocations: 4 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.3904, allocations: 15.92 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.3905, allocations: 173.6 kB / 0.7704 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.247e-05/0.3906, allocations: 66.53 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.3907, allocations: 24.86 kB / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3907, allocations: 0 / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3907, allocations: 38.56 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3907, allocations: 0 / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001045/0.3918, allocations: 0.5875 MB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.3918, allocations: 59.34 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.3919, allocations: 97.84 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3919, allocations: 25.7 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.3919, allocations: 88.36 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.392, allocations: 39.39 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.392, allocations: 25.72 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3921, allocations: 318.8 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.3922, allocations: 20 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.3922, allocations: 23.48 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.731e-05/0.3923, allocations: 60.78 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3923, allocations: 0 / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001456/0.3925, allocations: 109.5 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3925, allocations: 11.28 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3925, allocations: 0 / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.3925, allocations: 0 / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.3926, allocations: 23.98 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3926, allocations: 0 / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.3927, allocations: 0 / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3927, allocations: 4 kB / 0.772 GB, free: 14.57 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.64e-05/0.3927, allocations: 116.2 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.3928, allocations: 7.938 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.393, allocations: 113.5 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.393, allocations: 0 / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.393, allocations: 0 / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.393, allocations: 81.02 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.393, allocations: 0 / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.3931, allocations: 8 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.3931, allocations: 11.92 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002174/0.3933, allocations: 180.8 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002522/0.3936, allocations: 299 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.942e-05/0.3937, allocations: 36.06 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.3937, allocations: 79.22 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Backend: time 2.41e-07/0.3937, allocations: 0 / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.3942, allocations: 184.2 kB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005408/0.3948, allocations: 0.7053 MB / 0.7737 GB, free: 12.67 MB / 0.545 GB Notification: Performance of Templates: time 0.00372/0.3985, allocations: 1.541 MB / 0.7752 GB, free: 11.17 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)