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.001285/0.001285, allocations: 109.1 kB / 16.41 MB, free: 6.52 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.001254/0.001254, allocations: 188 kB / 17.34 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.418/1.418, allocations: 222.9 MB / 241 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.002507/0.002507, allocations: 288.3 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 1.007/1.007, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4381, 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_dp_DerivativeCheck): time 0.002422/0.4405, allocations: 1.26 MB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.4416, allocations: 0.6206 MB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.4417, allocations: 0 / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.4417, allocations: 7.875 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.4417, allocations: 3.984 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.4423, allocations: 154.6 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.593e-05/0.4423, allocations: 19.92 kB / 0.7691 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.4424, allocations: 0 / 0.7691 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.4424, allocations: 7.938 kB / 0.7691 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.4424, allocations: 19.91 kB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.4425, allocations: 4 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.443, allocations: 335.4 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.443, allocations: 3.984 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.443, allocations: 7.938 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.4432, allocations: 149.2 kB / 0.7696 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4432, allocations: 0 / 0.7696 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4432, allocations: 4 kB / 0.7696 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4432, allocations: 0 / 0.7696 GB, free: 1.355 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.0004527/0.4437, allocations: 363.1 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.4437, allocations: 8.031 kB / 0.7699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.4438, allocations: 0.9375 kB / 0.7699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4439, allocations: 180.3 kB / 0.7701 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4439, allocations: 384 / 0.7701 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4439, allocations: 4.375 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4441, allocations: 34.27 kB / 0.7701 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4441, allocations: 8.172 kB / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.4441, allocations: 3.938 kB / 0.7702 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4441, allocations: 4 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.4441, allocations: 4 kB / 0.7702 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.4443, allocations: 161.6 kB / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.4445, allocations: 42.55 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.4445, allocations: 20.94 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4445, allocations: 4 kB / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.4446, allocations: 38.56 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4446, allocations: 0 / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006589/0.4452, allocations: 322.1 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4453, allocations: 51.41 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.4454, allocations: 101.8 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4454, allocations: 29.7 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.4454, allocations: 84.14 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.4455, allocations: 19.8 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.4455, allocations: 25.7 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4456, allocations: 310.8 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.4457, allocations: 11.94 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.4457, allocations: 15.98 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.4457, allocations: 28.86 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4457, allocations: 4 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001146/0.4459, allocations: 73.62 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4459, allocations: 7.938 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4459, allocations: 0 / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4459, allocations: 0 / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.4459, allocations: 15.94 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.446, allocations: 0 / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.446, allocations: 0 / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.446, allocations: 7.984 kB / 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 8.006e-05/0.4461, allocations: 112.2 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.4461, allocations: 11.94 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.4462, allocations: 65.66 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4462, allocations: 0 / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4462, allocations: 3.938 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4462, allocations: 3.984 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.4466, allocations: 311.4 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4466, allocations: 4 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.4466, allocations: 12 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4466, allocations: 4.031 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4466, allocations: 7.938 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4466, allocations: 192 / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4466, allocations: 0 / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.4469, allocations: 184.3 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.4469, allocations: 85.12 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4469, allocations: 0 / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.447, allocations: 12 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.447, allocations: 4 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.447, allocations: 4 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.4471, allocations: 79.27 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4471, allocations: 0 / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002446/0.4473, allocations: 19.94 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002022/0.4475, allocations: 127 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.4476, allocations: 27.98 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4476, allocations: 8 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.4477, allocations: 15.94 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.4479, allocations: 13.56 kB / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.4483, allocations: 188.8 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4486, allocations: 0.6807 MB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.4487, allocations: 7.938 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.4487, allocations: 15.42 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4487, allocations: 0 / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Templates: time 0.00322/0.4519, allocations: 0.6451 MB / 0.774 GB, free: 12.37 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)