Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001126/0.001126, allocations: 97.78 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.001586/0.001586, allocations: 181.7 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9179, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001481/0.9194, allocations: 1.197 MB / 0.9569 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.9204, allocations: 0.6375 MB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.9204, allocations: 0 / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.9204, allocations: 0 / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.9205, allocations: 5.281 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.921, allocations: 134.1 kB / 0.9576 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.921, allocations: 50.17 kB / 0.9577 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.9211, allocations: 7 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.9212, allocations: 22.7 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.9212, allocations: 30.73 kB / 0.9577 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.9212, allocations: 4.125 kB / 0.9578 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.9217, allocations: 346.8 kB / 0.9581 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.9218, allocations: 9.375 kB / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.9218, allocations: 49.34 kB / 0.9581 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.922, allocations: 116.7 kB / 0.9582 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.922, allocations: 1.188 kB / 0.9583 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.922, allocations: 0 / 0.9583 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.922, allocations: 0 / 0.9583 GB, free: 5.77 MB / 0.7169 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.0005292/0.9226, allocations: 390.8 kB / 0.9586 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9226, allocations: 13.56 kB / 0.9586 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.9227, allocations: 11.44 kB / 0.9586 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.9228, allocations: 171.2 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.9228, allocations: 3.156 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.9228, allocations: 12.36 kB / 0.9588 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.9231, allocations: 83.78 kB / 0.9589 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.9231, allocations: 4.125 kB / 0.9589 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9231, allocations: 5.156 kB / 0.9589 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.9231, allocations: 5.203 kB / 0.9589 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.9234, allocations: 60.02 kB / 0.959 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.9239, allocations: 331 kB / 0.9593 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.9242, allocations: 90.56 kB / 0.9594 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.9243, allocations: 34.91 kB / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.9244, allocations: 0 / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.9244, allocations: 39.91 kB / 0.9594 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.9244, allocations: 1.375 kB / 0.9595 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001564/0.926, allocations: 0.6705 MB / 0.9601 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.926, allocations: 56.78 kB / 0.9602 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.9261, allocations: 107.3 kB / 0.9603 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.9261, allocations: 27.08 kB / 0.9603 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.9261, allocations: 89.45 kB / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.9262, allocations: 35.58 kB / 0.9604 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.9262, allocations: 25.77 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.9262, allocations: 316.2 kB / 0.9607 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.9264, allocations: 37.97 kB / 0.9608 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.9265, allocations: 35.36 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.9268, allocations: 79.45 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9268, allocations: 5.375 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003012/0.9271, allocations: 124.2 kB / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9271, allocations: 5.688 kB / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.9271, allocations: 1.375 kB / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9271, allocations: 0 / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.9273, allocations: 35.28 kB / 0.961 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.9273, allocations: 4 kB / 0.961 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.9274, allocations: 9.438 kB / 0.9611 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.9274, allocations: 2.75 kB / 0.9611 GB, free: 3.203 MB / 0.7169 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 6.125e-05/0.9275, allocations: 118 kB / 0.9612 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.9275, allocations: 10.64 kB / 0.9612 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.9279, allocations: 143.2 kB / 0.9613 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9279, allocations: 1.469 kB / 0.9613 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9279, allocations: 3.938 kB / 0.9613 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.9279, allocations: 3.938 kB / 0.9613 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.9284, allocations: 393.1 kB / 0.9617 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.9284, allocations: 0 / 0.9617 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.9286, allocations: 29.61 kB / 0.9617 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9286, allocations: 1.438 kB / 0.9617 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.9286, allocations: 9.438 kB / 0.9617 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9286, allocations: 0 / 0.9617 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9286, allocations: 1.438 kB / 0.9617 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.9291, allocations: 258.3 kB / 0.962 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.9291, allocations: 83.22 kB / 0.9621 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.9292, allocations: 8.969 kB / 0.9621 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9293, allocations: 14.45 kB / 0.9621 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.9293, allocations: 11.73 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.9293, allocations: 7.156 kB / 0.9621 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.9294, allocations: 82.56 kB / 0.9622 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9294, allocations: 0 / 0.9622 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003155/0.9297, allocations: 42.02 kB / 0.9622 GB, free: 2.184 MB / 0.7169 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.0002128/0.9299, allocations: 129.8 kB / 0.9623 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.9303, allocations: 95.19 kB / 0.9624 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9303, allocations: 0 / 0.9624 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.9305, allocations: 47.73 kB / 0.9625 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.9308, allocations: 12.45 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.9314, allocations: 415.4 kB / 0.9629 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.9315, allocations: 0.695 MB / 0.9636 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.9316, allocations: 14.5 kB / 0.9636 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.9316, allocations: 0 / 0.9636 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of Templates: time 0.002879/0.9345, allocations: 1.305 MB / 0.9649 GB, free: 292 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)