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.001353/0.001353, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001355/0.001355, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.365/1.365, 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 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9161/0.9175, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002166/0.9197, allocations: 1.288 MB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009748/0.9207, allocations: 0.6111 MB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.9208, allocations: 1.312 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.9208, allocations: 8.828 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.9208, allocations: 4.922 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.9214, allocations: 146 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.9215, allocations: 19.09 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.9215, allocations: 2.516 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.9215, allocations: 5.312 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.9216, allocations: 13.73 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.9216, allocations: 1.562 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.9222, allocations: 348.5 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.9222, allocations: 2.016 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.9222, allocations: 12.47 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.9225, allocations: 150.4 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9225, allocations: 1.438 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9225, allocations: 0 / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.9225, allocations: 0 / 1.091 GB, free: 3.926 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.0003379/0.9229, allocations: 356.5 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.9229, allocations: 8.406 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.9229, allocations: 12 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.429e-05/0.923, allocations: 165.7 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.9231, allocations: 1.938 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.9231, allocations: 2.703 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.9232, allocations: 39.98 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.9232, allocations: 4.125 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.9232, allocations: 5.625 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9232, allocations: 0 / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.9233, allocations: 16.33 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.9234, allocations: 158.8 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.9236, allocations: 44.23 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.9236, allocations: 21.92 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.9237, allocations: 0.5625 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.9237, allocations: 32.3 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.9237, allocations: 0.9688 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.000556/0.9242, allocations: 312 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.9243, allocations: 53.39 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.9243, allocations: 102.8 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.9244, allocations: 26.61 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.9244, allocations: 81.72 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.9244, allocations: 27.67 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.9245, allocations: 19.97 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.9245, allocations: 322.2 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.9245, allocations: 11.2 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.9246, allocations: 12.91 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.9246, allocations: 33.14 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.9246, allocations: 0.7812 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.701e-05/0.9247, allocations: 63.28 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9248, allocations: 9.766 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9248, allocations: 0.5312 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.9248, allocations: 0.5625 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.9249, allocations: 10.66 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9249, allocations: 5.516 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.9249, allocations: 0.7812 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.9249, allocations: 6.375 kB / 1.093 GB, free: 1.996 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.693e-05/0.925, allocations: 110.4 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.925, allocations: 10.19 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.9251, allocations: 77.89 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9251, allocations: 3.938 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9251, allocations: 0.9688 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9251, allocations: 4.797 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.9254, allocations: 321.2 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9254, allocations: 0 / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.9255, allocations: 12.39 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9255, allocations: 0.6562 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.9255, allocations: 1.562 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9255, allocations: 1.422 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9255, allocations: 0.9062 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.9257, allocations: 183.5 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.9257, allocations: 90.33 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.9257, allocations: 1.469 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.9258, allocations: 5.891 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.9258, allocations: 4.906 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.9258, allocations: 5.719 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.9259, allocations: 79.47 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9259, allocations: 4.062 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002469/0.9261, allocations: 23.98 kB / 1.094 GB, free: 1.117 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.0001622/0.9263, allocations: 121.4 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.9264, allocations: 36.08 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9264, allocations: 0.9688 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.9264, allocations: 16.77 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.9267, allocations: 8.062 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.927, allocations: 216.3 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.9272, allocations: 0.6841 MB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.9272, allocations: 15.62 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9272, allocations: 0 / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of Templates: time 0.002588/0.9298, allocations: 0.7944 MB / 1.096 GB, free: 40 kB / 0.8575 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)