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.001492/0.001492, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001734/0.001734, 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.3/1.3, 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.002113/0.002113, allocations: 295.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.9619/0.9619, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00322/0.003221, allocations: 103.8 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4036, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002544/0.4062, allocations: 1.461 MB / 0.7685 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.4072, allocations: 0.6284 MB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.4073, allocations: 3.938 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.4073, allocations: 4 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.4074, allocations: 11.86 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.408, allocations: 165.9 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.569e-05/0.4081, allocations: 55.58 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.4081, allocations: 4 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.4082, allocations: 23.92 kB / 0.7694 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.4083, allocations: 31.89 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.4083, allocations: 7.938 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/0.4088, allocations: 343.3 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.4089, allocations: 19.92 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.4089, allocations: 27.86 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.4092, allocations: 165.8 kB / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4093, allocations: 4 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4093, allocations: 3.938 kB / 0.7699 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4093, allocations: 0 / 0.7699 GB, free: 0.9844 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.000612/0.4099, allocations: 402.1 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4099, allocations: 8.031 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.41, allocations: 12.84 kB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.4101, allocations: 172.2 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.4102, allocations: 4.375 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.4102, allocations: 8.375 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.4104, allocations: 74.22 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4105, allocations: 192 / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4105, allocations: 11.92 kB / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4105, allocations: 0 / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.4107, allocations: 55.95 kB / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.4113, allocations: 324.6 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.4116, allocations: 78.53 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.4118, allocations: 32.84 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4118, allocations: 3.938 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4118, allocations: 34.56 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4118, allocations: 0 / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001649/0.4135, allocations: 0.6423 MB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4135, allocations: 59.39 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.4136, allocations: 97.86 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4136, allocations: 25.7 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.4137, allocations: 96.03 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4137, allocations: 35.47 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.4138, allocations: 29.7 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4139, allocations: 326.8 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.414, allocations: 27.98 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.4142, allocations: 36.09 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.4144, allocations: 82.8 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4144, allocations: 7.938 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003246/0.4148, allocations: 113.6 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4148, allocations: 6.656 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4148, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4148, allocations: 4 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.415, allocations: 23.98 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.415, allocations: 0 / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.4151, allocations: 11.92 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4151, allocations: 12 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 8.841e-05/0.4152, allocations: 116.2 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.4152, allocations: 7.906 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.4156, allocations: 125.6 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4156, allocations: 0 / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4156, allocations: 0 / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.4157, allocations: 81.05 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.4157, allocations: 4 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4158, allocations: 19.98 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.4159, allocations: 3.938 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004311/0.4163, allocations: 208.7 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005432/0.4169, allocations: 331.1 kB / 0.7735 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001392/0.417, allocations: 43.98 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.4171, allocations: 83.22 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.4171, allocations: 4 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.4177, allocations: 186.2 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006906/0.4184, allocations: 0.7325 MB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Templates: time 0.0043/0.4227, allocations: 1.762 MB / 0.7763 GB, free: 10.12 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)