Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_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_9_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.001612/0.001612, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001936/0.001936, allocations: 183 kB / 17.34 MB, free: 5.742 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9006, allocations: 140.4 MB / 1.089 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00222/0.9029, allocations: 1.282 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.9039, allocations: 0.6152 MB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.9039, allocations: 0 / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.9039, allocations: 8.641 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.904, allocations: 5.672 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.9045, allocations: 141.1 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.9046, allocations: 20.16 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.9047, allocations: 5.875 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.9047, allocations: 9.953 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.9048, allocations: 8.922 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.9048, allocations: 1.219 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.9054, allocations: 349.8 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.9054, allocations: 2.016 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.9055, allocations: 12.58 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.9057, allocations: 154.6 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9058, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9058, allocations: 1.031 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9058, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8575 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.0003692/0.9061, allocations: 355.1 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.9062, allocations: 9.156 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.9062, allocations: 8.078 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.884e-05/0.9063, allocations: 171 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.9063, allocations: 384 / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.9064, allocations: 3.219 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.9065, allocations: 40.08 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9065, allocations: 4.125 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.9065, allocations: 4.875 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9065, allocations: 0.9062 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.026e-05/0.9066, allocations: 11.55 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.9067, allocations: 155.3 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.9069, allocations: 48.34 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.9069, allocations: 21.25 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.907, allocations: 1.344 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.907, allocations: 36.27 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.907, allocations: 0 / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005535/0.9075, allocations: 309.7 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.9076, allocations: 56.28 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.9076, allocations: 99.86 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.9076, allocations: 25.7 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.667e-05/0.9077, allocations: 84.95 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.9077, allocations: 20.3 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.9077, allocations: 20.41 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.9078, allocations: 317.4 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.9078, allocations: 11.81 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.9079, allocations: 12.42 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/0.9079, allocations: 33.58 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.9079, allocations: 4 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.934e-05/0.908, allocations: 68.16 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.908, allocations: 9.328 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9081, allocations: 0.7188 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.9081, allocations: 0.7812 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.9081, allocations: 11.33 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.9081, allocations: 8.453 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.9082, allocations: 4.781 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9082, allocations: 3.141 kB / 1.093 GB, free: 1.93 MB / 0.8575 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 4.609e-05/0.9082, allocations: 107.5 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.9082, allocations: 10.19 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.9084, allocations: 77.36 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9084, allocations: 0.75 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9084, allocations: 1.062 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9084, allocations: 0.5625 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.9087, allocations: 317 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.9087, allocations: 0.7812 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.9088, allocations: 10.91 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9088, allocations: 1.781 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.9088, allocations: 1.547 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.9088, allocations: 0.7812 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9088, allocations: 0.9062 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.9089, allocations: 184.2 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.909, allocations: 86.02 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.909, allocations: 6.062 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.9091, allocations: 5.734 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.9091, allocations: 3.469 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.9091, allocations: 6.812 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.074e-05/0.9091, allocations: 78.95 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9091, allocations: 4.688 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002491/0.9094, allocations: 23.78 kB / 1.094 GB, free: 1.062 MB / 0.8575 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.0001767/0.9096, allocations: 125.4 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.9097, allocations: 36 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9097, allocations: 0 / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.9097, allocations: 17.77 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.91, allocations: 6.875 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.9103, allocations: 215.3 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.9105, allocations: 0.68 MB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.9105, allocations: 15.28 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9105, allocations: 0.9062 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of Templates: time 0.002563/0.9131, allocations: 0.8037 MB / 1.096 GB, free: 15.97 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)