Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.00106, allocations: 106 kB / 16.41 MB, free: 6.457 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.001075/0.001075, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 290.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3771, 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_DerivativeCheck): time 0.002141/0.3793, allocations: 1.276 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.3803, allocations: 0.6167 MB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3803, allocations: 0 / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.3803, allocations: 0 / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.3804, allocations: 11.91 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.3809, allocations: 143.4 kB / 0.7691 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.786e-05/0.381, allocations: 15.94 kB / 0.7691 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.3811, allocations: 3.984 kB / 0.7691 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.3811, allocations: 11.98 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.3812, allocations: 11.94 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3812, allocations: 7.938 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.3817, allocations: 339.3 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3817, allocations: 7.969 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.3818, allocations: 11.94 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.382, allocations: 145.9 kB / 0.7696 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.382, allocations: 0 / 0.7696 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.382, allocations: 0 / 0.7696 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.382, allocations: 0 / 0.7696 GB, free: 1.336 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.0003804/0.3824, allocations: 363.3 kB / 0.7699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3825, allocations: 12.03 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3825, allocations: 4.938 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.3826, allocations: 160.4 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.3826, allocations: 384 / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3826, allocations: 4.375 kB / 0.7701 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.3827, allocations: 42.19 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3828, allocations: 4.172 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3828, allocations: 3.938 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3828, allocations: 4 kB / 0.7702 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.3828, allocations: 11.98 kB / 0.7702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.383, allocations: 165.7 kB / 0.7703 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3832, allocations: 42.56 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.3832, allocations: 16.86 kB / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3832, allocations: 0 / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3832, allocations: 38.44 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3832, allocations: 4 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005694/0.3838, allocations: 310.2 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.3839, allocations: 55.41 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.3839, allocations: 97.86 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3839, allocations: 25.7 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.384, allocations: 80.14 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.384, allocations: 23.73 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.384, allocations: 21.72 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.3841, allocations: 314.8 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.3842, allocations: 12 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.3842, allocations: 12 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.3843, allocations: 32.84 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3843, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.511e-05/0.3844, allocations: 69.53 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3844, allocations: 15.92 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3844, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3844, allocations: 4 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.3845, allocations: 8 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3845, allocations: 240 / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.3845, allocations: 4 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3845, allocations: 0 / 0.7715 GB, free: 15.14 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.379e-05/0.3846, allocations: 109.8 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.3846, allocations: 7.938 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3847, allocations: 77.64 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3848, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3848, allocations: 4 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3848, allocations: 93 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3848, allocations: 0.5156 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.3849, allocations: 0 / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.3849, allocations: 4 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001568/0.3851, allocations: 144.9 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001908/0.3853, allocations: 254.7 kB / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.377e-05/0.3853, allocations: 32 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.3853, allocations: 75.28 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Backend: time 3.346e-06/0.3854, allocations: 0 / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.3858, allocations: 166.8 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004727/0.3863, allocations: 0.6255 MB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of Templates: time 0.003654/0.39, allocations: 1.258 MB / 0.7742 GB, free: 12.24 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)