Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001654/0.001654, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 287.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.952/0.952, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3663, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001977/0.3683, allocations: 1.253 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.3692, allocations: 0.6128 MB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3693, allocations: 4 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.3693, allocations: 3.938 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.3693, allocations: 7.922 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.3698, allocations: 146.8 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.3699, allocations: 23.92 kB / 0.7691 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.3699, allocations: 4 kB / 0.7691 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.37, allocations: 11.92 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.37, allocations: 11.98 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.37, allocations: 0 / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.3705, allocations: 339.3 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.3705, allocations: 7.984 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.3705, allocations: 7.938 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3708, allocations: 141.9 kB / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3708, allocations: 0 / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3708, allocations: 0 / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.3708, allocations: 4 kB / 0.7696 GB, free: 1.34 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003572/0.3712, allocations: 365.5 kB / 0.7699 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3712, allocations: 8.031 kB / 0.7699 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.3712, allocations: 8.938 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.235e-05/0.3713, allocations: 168.4 kB / 0.7701 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.3714, allocations: 384 / 0.7701 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3714, allocations: 4.375 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.3715, allocations: 38.25 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3715, allocations: 8.188 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3715, allocations: 11.88 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3715, allocations: 0 / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.3716, allocations: 4 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3717, allocations: 161.7 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3719, allocations: 42.55 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.3719, allocations: 20.94 kB / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3719, allocations: 7.984 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.372, allocations: 34.56 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.372, allocations: 0 / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005531/0.3725, allocations: 310.1 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.3726, allocations: 51.41 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.3726, allocations: 101.8 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3727, allocations: 29.64 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.3727, allocations: 84.14 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3727, allocations: 19.75 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3728, allocations: 21.7 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.3729, allocations: 310.8 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.3729, allocations: 12 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.3729, allocations: 19.97 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/0.373, allocations: 28.86 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.373, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.473e-05/0.3731, allocations: 73.58 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3731, allocations: 11.94 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3731, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.3731, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.3732, allocations: 16.44 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3732, allocations: 4 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.3732, allocations: 0 / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.3732, allocations: 0 / 0.7715 GB, free: 15.13 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 (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 6.867e-05/0.3733, allocations: 116.2 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3733, allocations: 7.938 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.3734, allocations: 65.66 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3735, allocations: 11.91 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3735, allocations: 4 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.3735, allocations: 88.95 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3736, allocations: 0 / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.3736, allocations: 7.938 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3736, allocations: 3.984 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001425/0.3738, allocations: 137.2 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000185/0.374, allocations: 262.7 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.17e-05/0.374, allocations: 20.02 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.374, allocations: 75.28 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Backend: time 2.21e-07/0.374, allocations: 4 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.3745, allocations: 158.3 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004544/0.375, allocations: 0.6216 MB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Templates: time 0.003325/0.3783, allocations: 1.264 MB / 0.7742 GB, free: 12.23 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)