Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001054/0.001054, allocations: 117.8 kB / 16.38 MB, free: 6.02 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.001115/0.001115, allocations: 189.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.84 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.205, allocations: 114.5 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00251/0.2076, allocations: 1.487 MB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.2085, allocations: 0.6344 MB / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.2086, allocations: 0 / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.2086, allocations: 3.938 kB / 0.7869 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/0.2087, allocations: 7.922 kB / 0.7869 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.2092, allocations: 156.2 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.2093, allocations: 59.77 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.2093, allocations: 4 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.2094, allocations: 27.92 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.2094, allocations: 27.89 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.2094, allocations: 4 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.2099, allocations: 343.3 kB / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.21, allocations: 19.92 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.21, allocations: 23.86 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.2103, allocations: 179.5 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2103, allocations: 0 / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2103, allocations: 0 / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2103, allocations: 4 kB / 0.7877 GB, free: 228 kB / 0.6544 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.3087/0.519, allocations: 392.5 kB / 0.7881 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5191, allocations: 8.969 kB / 0.7881 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.5191, allocations: 7.062 kB / 0.7881 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.388e-05/0.5192, allocations: 164.7 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.5192, allocations: 7.578 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.5193, allocations: 8.125 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.5195, allocations: 81.61 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5195, allocations: 0.8125 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5195, allocations: 12.53 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5195, allocations: 3.922 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.5198, allocations: 48.47 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.5202, allocations: 321 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.5205, allocations: 79.62 kB / 0.7888 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5206, allocations: 33.66 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.5206, allocations: 2.516 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.5206, allocations: 34.53 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5206, allocations: 0 / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001398/0.522, allocations: 0.648 MB / 0.7895 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.29e-05/0.5221, allocations: 54.81 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.346e-05/0.5221, allocations: 98.86 kB / 0.7896 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.5221, allocations: 27.39 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.5222, allocations: 99.97 kB / 0.7897 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.5222, allocations: 38.62 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.5222, allocations: 28.86 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.5223, allocations: 322.6 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5224, allocations: 32.09 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.5225, allocations: 32.08 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.5228, allocations: 74.78 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5228, allocations: 0 / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002873/0.5231, allocations: 119.2 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5231, allocations: 8.812 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5231, allocations: 0.7812 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5231, allocations: 2.469 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.5233, allocations: 29.2 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.5233, allocations: 3.062 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.5233, allocations: 13.92 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5234, allocations: 2.719 kB / 0.7904 GB, free: 47.19 MB / 0.6544 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 4.922e-05/0.5234, allocations: 118.1 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.5234, allocations: 7.188 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.5238, allocations: 124.7 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5238, allocations: 0 / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5238, allocations: 2.344 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.5238, allocations: 83.86 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.5238, allocations: 2 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.524, allocations: 9.719 kB / 0.7908 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.524, allocations: 11.31 kB / 0.7908 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003713/0.5244, allocations: 203 kB / 0.791 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004628/0.5248, allocations: 335.8 kB / 0.7913 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001276/0.525, allocations: 40.95 kB / 0.7913 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.66e-05/0.525, allocations: 77.91 kB / 0.7914 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Backend: time 2.61e-07/0.525, allocations: 2.469 kB / 0.7914 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005829/0.5256, allocations: 195.8 kB / 0.7916 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004697/0.5261, allocations: 0.7365 MB / 0.7923 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.003614/0.5297, allocations: 1.738 MB / 0.794 GB, free: 45.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)