Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 174.5 kB / 326.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.379/2.379, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.0009159, allocations: 94.11 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004373, allocations: 12.44 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001371/0.2163, allocations: 1.005 MB / 0.9005 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2174, allocations: 0.5661 MB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.2175, allocations: 0 / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2175, allocations: 0 / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.2175, allocations: 15.92 kB / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.2181, allocations: 123.6 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.2182, allocations: 23.92 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.2183, allocations: 3.984 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.2183, allocations: 11.94 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.2184, allocations: 15.97 kB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2184, allocations: 0 / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.219, allocations: 335.3 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.219, allocations: 15.92 kB / 0.9016 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.2191, allocations: 29.7 kB / 0.9016 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2193, allocations: 104.1 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2193, allocations: 0 / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2193, allocations: 3.938 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2193, allocations: 0 / 0.9017 GB, free: 63.25 MB / 0.6042 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.0003458/0.2197, allocations: 359.3 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2197, allocations: 8.031 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2198, allocations: 8.938 kB / 0.9021 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.2199, allocations: 164.4 kB / 0.9022 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2199, allocations: 384 / 0.9022 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.2199, allocations: 8.312 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.22, allocations: 54.19 kB / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2201, allocations: 8.078 kB / 0.9023 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2201, allocations: 3.938 kB / 0.9023 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2201, allocations: 0 / 0.9023 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.2202, allocations: 19.98 kB / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2203, allocations: 161.7 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2205, allocations: 62.56 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.2205, allocations: 32.83 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2206, allocations: 7.938 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2206, allocations: 30.56 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2206, allocations: 0 / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001311/0.2219, allocations: 0.5879 MB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.222, allocations: 51.41 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.222, allocations: 97.86 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.222, allocations: 25.7 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/0.2221, allocations: 88 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2221, allocations: 43.58 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.2221, allocations: 0 / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.2222, allocations: 318.8 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.2223, allocations: 16 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.2223, allocations: 25.11 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/0.2224, allocations: 28 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2224, allocations: 0 / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001885/0.2226, allocations: 107.5 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2226, allocations: 4 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2227, allocations: 4 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2227, allocations: 0 / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2228, allocations: 20 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2229, allocations: 3.984 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.2229, allocations: 4.031 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2229, allocations: 7.938 kB / 0.904 GB, free: 60.62 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.223, allocations: 117.8 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.223, allocations: 7.938 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.2233, allocations: 105.5 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2233, allocations: 7.969 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2233, allocations: 0 / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2233, allocations: 77.11 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2234, allocations: 4 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.2235, allocations: 4 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.2235, allocations: 7.984 kB / 0.9043 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002888/0.2238, allocations: 188.8 kB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003039/0.2241, allocations: 294.7 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.859e-05/0.2242, allocations: 24.45 kB / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.125e-05/0.2242, allocations: 83.28 kB / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of Backend: time 6.61e-07/0.2242, allocations: 0 / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006661/0.2249, allocations: 186.3 kB / 0.905 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006207/0.2255, allocations: 0.7595 MB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.004939/0.2305, allocations: 1.433 MB / 0.9072 GB, free: 57.26 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)