Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.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.000805/0.0008051, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009949/0.000995, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 11.98 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6162, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00161/0.6178, allocations: 1.189 MB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.6189, allocations: 0.6424 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.619, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.619, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.6191, allocations: 7.922 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.6196, allocations: 139.6 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.6197, allocations: 51.84 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.6198, allocations: 11.97 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.6198, allocations: 15.94 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.6199, allocations: 27.84 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.6199, allocations: 4 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.6204, allocations: 351.3 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.6204, allocations: 7.984 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.6205, allocations: 49.56 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.6207, allocations: 113.8 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.6207, allocations: 4 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6207, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.6207, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 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.0005836/0.6213, allocations: 391.3 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6214, allocations: 11.98 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.6214, allocations: 12.84 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.6215, allocations: 180.2 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.6216, allocations: 4.375 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.6216, allocations: 12.28 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.6218, allocations: 93.78 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6219, allocations: 192 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6219, allocations: 3.938 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6219, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.6221, allocations: 59.95 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.6227, allocations: 332.6 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.623, allocations: 86.53 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.6232, allocations: 28.84 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.6232, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.6232, allocations: 42.53 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.6232, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001684/0.6249, allocations: 0.6734 MB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.625, allocations: 55.41 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.6251, allocations: 101.8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.6251, allocations: 25.7 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.6252, allocations: 96.06 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.6252, allocations: 39.36 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.6252, allocations: 17.72 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6253, allocations: 314.8 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.6255, allocations: 39.97 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.6256, allocations: 35.98 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.6259, allocations: 76.83 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.6259, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000343/0.6263, allocations: 129.7 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6263, allocations: 8 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6263, allocations: 0 / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6263, allocations: 3.938 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.6265, allocations: 35.98 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6265, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.6266, allocations: 7.938 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.6266, allocations: 7.984 kB / 1.029 GB, free: 10.06 MB / 0.7794 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.425e-05/0.6267, allocations: 118.3 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.6267, allocations: 3.906 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.6271, allocations: 137.7 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6272, allocations: 0 / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6272, allocations: 0 / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6272, allocations: 7.922 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.6278, allocations: 398.4 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6278, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.6279, allocations: 24.08 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.628, allocations: 7.938 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.628, allocations: 7.922 kB / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.628, allocations: 0 / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.628, allocations: 0 / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.6285, allocations: 267.3 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.6286, allocations: 81.14 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.6286, allocations: 8 kB / 1.03 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.6287, allocations: 15.98 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.6288, allocations: 4 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.6288, allocations: 4 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.6288, allocations: 87.27 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6288, allocations: 0 / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003085/0.6291, allocations: 39.94 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0002077/0.6294, allocations: 131.5 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.6297, allocations: 93.14 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6297, allocations: 3.938 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.6299, allocations: 51.91 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.6302, allocations: 12 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.6309, allocations: 406.8 kB / 1.031 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.6311, allocations: 0.6926 MB / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.6312, allocations: 19.42 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6312, allocations: 0 / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of Templates: time 0.002931/0.6341, allocations: 1.302 MB / 1.033 GB, free: 6.012 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)