Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.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.001236/0.001236, allocations: 110 kB / 16.41 MB, free: 6.477 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.001392/0.001392, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8725, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002365/0.8749, allocations: 1.28 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.8761, allocations: 0.6111 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.8761, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.8762, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.8762, allocations: 3.984 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.8768, allocations: 150.7 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.8769, allocations: 19.94 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.8769, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.877, allocations: 15.91 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.877, allocations: 12 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.8771, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.8776, allocations: 343.3 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.8776, allocations: 3.984 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.8777, allocations: 11.92 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.878, allocations: 143.6 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.878, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.734e-06/0.878, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.878, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 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.0005326/0.8785, allocations: 365.3 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8786, allocations: 12.03 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.8786, allocations: 8.844 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.8788, allocations: 164.3 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8788, allocations: 384 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.8788, allocations: 4.375 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.879, allocations: 38.25 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.879, allocations: 4.188 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.879, allocations: 7.938 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.879, allocations: 0 / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.8791, allocations: 15.92 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.8793, allocations: 161.7 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.8795, allocations: 38.56 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.8795, allocations: 16.86 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.8795, allocations: 7.969 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.8796, allocations: 34.56 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.8796, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0006909/0.8803, allocations: 310.3 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.8803, allocations: 55.34 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.8804, allocations: 97.86 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.8804, allocations: 29.64 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.8805, allocations: 80.14 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.8805, allocations: 27.64 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.8806, allocations: 21.72 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8807, allocations: 310.8 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.8807, allocations: 15.98 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.8808, allocations: 12 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.8808, allocations: 24.86 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8808, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.881, allocations: 77.52 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.881, allocations: 11.94 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.881, allocations: 0 / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.881, allocations: 4 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.8811, allocations: 15.92 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/0.8811, allocations: 0 / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.8811, allocations: 4 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.8811, allocations: 0 / 1.213 GB, free: 8.848 MB / 0.9356 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.659e-05/0.8812, allocations: 113.8 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.8812, allocations: 3.938 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.8814, allocations: 73.58 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8814, allocations: 0 / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8814, allocations: 8 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8814, allocations: 0 / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.8818, allocations: 311.4 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8818, allocations: 192 / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.8819, allocations: 19.98 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8819, allocations: 4 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.8819, allocations: 0 / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8819, allocations: 0 / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8819, allocations: 0 / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.8821, allocations: 184.3 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.8822, allocations: 81.09 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.8822, allocations: 4.031 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.8823, allocations: 3.938 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.8823, allocations: 11.98 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.8823, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.8824, allocations: 83.34 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8824, allocations: 3.938 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002539/0.8827, allocations: 20 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002032/0.8829, allocations: 119.2 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.883, allocations: 39.92 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.883, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.8831, allocations: 19.98 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.8833, allocations: 8.594 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.8838, allocations: 222.1 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.8841, allocations: 0.6902 MB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.8841, allocations: 11.44 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8841, allocations: 3.938 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of Templates: time 0.002507/0.8866, allocations: 0.7964 MB / 1.216 GB, free: 5.852 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)