Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6977/0.6977, allocations: 131 MB / 146.3 MB, free: 1.293 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009327/0.0009328, allocations: 179.5 kB / 176.4 MB, free: 4.879 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.7 MB / 432 MB, free: 8.75 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007874/0.0007874, allocations: 86.86 kB / 0.5003 GB, free: 9.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8 kB / 0.5885 GB, free: 72.62 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 79.6 MB / 0.6663 GB, free: 8.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001519/0.1227, allocations: 1.178 MB / 0.6674 GB, free: 7.672 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1239, allocations: 1.06 MB / 0.6685 GB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.1239, allocations: 4 kB / 0.6685 GB, free: 6.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.124, allocations: 3.984 kB / 0.6685 GB, free: 6.492 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.124, allocations: 3.938 kB / 0.6685 GB, free: 6.488 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.1245, allocations: 135.6 kB / 0.6686 GB, free: 6.355 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.1246, allocations: 55.78 kB / 0.6686 GB, free: 6.301 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1246, allocations: 4 kB / 0.6687 GB, free: 6.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.1247, allocations: 23.91 kB / 0.6687 GB, free: 6.273 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.1247, allocations: 23.92 kB / 0.6687 GB, free: 6.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1247, allocations: 4 kB / 0.6687 GB, free: 6.246 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.1252, allocations: 339.3 kB / 0.669 GB, free: 5.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.1252, allocations: 11.94 kB / 0.669 GB, free: 5.902 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.1253, allocations: 45.62 kB / 0.6691 GB, free: 5.852 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1256, allocations: 175.8 kB / 0.6692 GB, free: 5.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1256, allocations: 0 / 0.6692 GB, free: 5.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1256, allocations: 4 kB / 0.6693 GB, free: 5.676 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1256, allocations: 0 / 0.6693 GB, free: 5.676 MB / 442.7 MB 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.0005495/0.1261, allocations: 399.3 kB / 0.6696 GB, free: 5.234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1262, allocations: 8.031 kB / 0.6696 GB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.1262, allocations: 4.938 kB / 0.6696 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1264, allocations: 164.3 kB / 0.6698 GB, free: 5.023 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1264, allocations: 8.375 kB / 0.6698 GB, free: 5.016 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1265, allocations: 8.375 kB / 0.6698 GB, free: 5.008 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.1269, allocations: 110.2 kB / 0.6699 GB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.127, allocations: 4.125 kB / 0.6699 GB, free: 4.891 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.127, allocations: 7.938 kB / 0.6699 GB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.127, allocations: 8 kB / 0.6699 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.1275, allocations: 87.86 kB / 0.67 GB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.128, allocations: 332.6 kB / 0.6703 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.1285, allocations: 130.4 kB / 0.6705 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1286, allocations: 28.84 kB / 0.6705 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.1288, allocations: 93.09 kB / 0.6706 GB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1289, allocations: 46.5 kB / 0.6706 GB, free: 4.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1289, allocations: 0 / 0.6706 GB, free: 4.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.004421/0.1333, allocations: 1.051 MB / 0.6717 GB, free: 2.938 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1334, allocations: 55.41 kB / 0.6717 GB, free: 2.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.1335, allocations: 109.8 kB / 0.6718 GB, free: 2.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1335, allocations: 29.7 kB / 0.6718 GB, free: 2.719 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1335, allocations: 88.05 kB / 0.6719 GB, free: 2.629 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1336, allocations: 35.45 kB / 0.672 GB, free: 2.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.1336, allocations: 4 kB / 0.672 GB, free: 2.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1337, allocations: 314.8 kB / 0.6723 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.134, allocations: 67.95 kB / 0.6723 GB, free: 2.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1342, allocations: 63.95 kB / 0.6724 GB, free: 2.145 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.1346, allocations: 132.7 kB / 0.6725 GB, free: 2.012 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1346, allocations: 0 / 0.6725 GB, free: 2.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000494/0.1351, allocations: 189.6 kB / 0.6727 GB, free: 1.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1352, allocations: 4 kB / 0.6727 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1352, allocations: 3.984 kB / 0.6727 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1352, allocations: 0 / 0.6727 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1355, allocations: 43.97 kB / 0.6727 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1355, allocations: 7.938 kB / 0.6728 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.1358, allocations: 27.91 kB / 0.6728 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1358, allocations: 4 kB / 0.6728 GB, free: 1.73 MB / 442.7 MB 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 8.312e-05/0.1359, allocations: 113.8 kB / 0.6729 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1359, allocations: 4 kB / 0.6729 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.136, allocations: 15.95 kB / 0.6729 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.136, allocations: 0 / 0.6729 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.136, allocations: 0 / 0.6729 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.136, allocations: 7.938 kB / 0.6729 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.1368, allocations: 470.3 kB / 0.6734 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1368, allocations: 0 / 0.6734 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.1371, allocations: 44.05 kB / 0.6734 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1371, allocations: 7.938 kB / 0.6734 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1372, allocations: 7.938 kB / 0.6734 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1372, allocations: 0 / 0.6734 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1372, allocations: 0 / 0.6734 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.138, allocations: 359.3 kB / 0.6738 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.138, allocations: 81.02 kB / 0.6738 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1381, allocations: 3.938 kB / 0.6738 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1383, allocations: 32.03 kB / 0.6739 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1384, allocations: 7.984 kB / 0.6739 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1384, allocations: 4 kB / 0.6739 GB, free: 0.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.1384, allocations: 87.45 kB / 0.674 GB, free: 424 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1384, allocations: 0 / 0.674 GB, free: 424 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.1387, allocations: 20 kB / 0.674 GB, free: 404 kB / 442.7 MB 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.0001369/0.1388, allocations: 111.4 kB / 0.6741 GB, free: 284 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.1393, allocations: 152.2 kB / 0.6742 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1393, allocations: 4 kB / 0.6742 GB, free: 128 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.1396, allocations: 79.94 kB / 0.6743 GB, free: 48 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1399, allocations: 9.219 kB / 0.6743 GB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1411, allocations: 488.9 kB / 0.6748 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1413, allocations: 0.6965 MB / 0.6755 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1415, allocations: 8.672 kB / 0.6755 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.1415, allocations: 19.42 kB / 0.6755 GB, free: 14.78 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1416, allocations: 4 kB / 0.6755 GB, free: 14.78 MB / 458.7 MB Notification: Performance of Templates: time 0.003375/0.1449, allocations: 1.03 MB / 0.6765 GB, free: 13.76 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)