Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 118.2 kB / 16.42 MB, free: 6.031 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.001792/0.001792, allocations: 188.1 kB / 17.35 MB, free: 5.633 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 290 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9403/0.9403, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3825, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002413/0.385, allocations: 1.464 MB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.386, allocations: 0.6362 MB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.3861, allocations: 7.938 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.3861, allocations: 0 / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.3862, allocations: 7.875 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.3868, allocations: 159.4 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.666e-05/0.3869, allocations: 55.59 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.387, allocations: 4 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.387, allocations: 27.92 kB / 0.7694 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.3871, allocations: 27.89 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3871, allocations: 4 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.3876, allocations: 347.3 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.3877, allocations: 15.94 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.3877, allocations: 23.86 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.388, allocations: 173.8 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.388, allocations: 0 / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.388, allocations: 0 / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.388, allocations: 0 / 0.7699 GB, free: 0.9883 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005815/0.3886, allocations: 403.2 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3886, allocations: 8.031 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3887, allocations: 8.844 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3888, allocations: 176.2 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3888, allocations: 4.375 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3889, allocations: 8.375 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3891, allocations: 76.97 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3891, allocations: 8.188 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3892, allocations: 3.938 kB / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3892, allocations: 0 / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3894, allocations: 47.95 kB / 0.7706 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.39, allocations: 328.6 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3903, allocations: 82.53 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3904, allocations: 28.83 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3904, allocations: 3.938 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3904, allocations: 38.56 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3905, allocations: 0 / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001638/0.3921, allocations: 0.642 MB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.3921, allocations: 63.34 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.3922, allocations: 101.8 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3922, allocations: 25.7 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.3923, allocations: 92.05 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3923, allocations: 35.45 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.3924, allocations: 29.7 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3925, allocations: 326.8 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3926, allocations: 23.98 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3928, allocations: 44.09 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.393, allocations: 76.77 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.393, allocations: 0 / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003235/0.3934, allocations: 115.2 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3934, allocations: 4 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3934, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3934, allocations: 4 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3936, allocations: 35.98 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3936, allocations: 0 / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.3937, allocations: 11.92 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3937, allocations: 4 kB / 0.7727 GB, free: 13.86 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 9.892e-05/0.3938, allocations: 120.2 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.3938, allocations: 7.906 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.3942, allocations: 129.7 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3942, allocations: 3.984 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3943, allocations: 0 / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.3943, allocations: 81.05 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3943, allocations: 4 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3945, allocations: 7.984 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.3945, allocations: 11.94 kB / 0.773 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004414/0.3949, allocations: 208.7 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005621/0.3955, allocations: 330.7 kB / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001389/0.3957, allocations: 35.97 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.3957, allocations: 83.22 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.3957, allocations: 64 / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006708/0.3964, allocations: 194.2 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007103/0.3971, allocations: 0.7326 MB / 0.7745 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Templates: time 0.004359/0.4015, allocations: 1.767 MB / 0.7763 GB, free: 10.11 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)