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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6813/0.6813, allocations: 131 MB / 146.3 MB, free: 1.352 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.0009286/0.0009286, allocations: 194.5 kB / 176.4 MB, free: 4.887 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.331/1.331, allocations: 225.7 MB / 432 MB, free: 8.816 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.0007863/0.0007863, allocations: 88.33 kB / 0.5003 GB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003049, allocations: 8 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 79.59 MB / 0.6663 GB, free: 8.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001311/0.1231, allocations: 0.9978 MB / 0.6672 GB, free: 7.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1242, allocations: 1.041 MB / 0.6683 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.1243, allocations: 0 / 0.6683 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.1243, allocations: 4 kB / 0.6683 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.1243, allocations: 3.984 kB / 0.6683 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.1248, allocations: 123.6 kB / 0.6684 GB, free: 6.641 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.1248, allocations: 19.88 kB / 0.6684 GB, free: 6.621 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.1249, allocations: 7.938 kB / 0.6684 GB, free: 6.613 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.1249, allocations: 7.984 kB / 0.6684 GB, free: 6.605 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.125, allocations: 15.92 kB / 0.6684 GB, free: 6.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.125, allocations: 0 / 0.6684 GB, free: 6.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.1254, allocations: 335.4 kB / 0.6687 GB, free: 6.262 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1254, allocations: 3.938 kB / 0.6688 GB, free: 6.258 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.1255, allocations: 37.62 kB / 0.6688 GB, free: 6.215 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1257, allocations: 144 kB / 0.6689 GB, free: 6.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1257, allocations: 4 kB / 0.6689 GB, free: 6.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1257, allocations: 0 / 0.6689 GB, free: 6.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1257, allocations: 0 / 0.6689 GB, free: 6.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003434/0.1261, allocations: 351.5 kB / 0.6693 GB, free: 5.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1261, allocations: 8.031 kB / 0.6693 GB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1262, allocations: 16.84 kB / 0.6693 GB, free: 5.652 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.1263, allocations: 168.3 kB / 0.6694 GB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1263, allocations: 384 / 0.6694 GB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1263, allocations: 8.375 kB / 0.6695 GB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.1267, allocations: 66.22 kB / 0.6695 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1267, allocations: 192 / 0.6695 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1267, allocations: 3.938 kB / 0.6695 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1267, allocations: 4 kB / 0.6695 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.127, allocations: 43.95 kB / 0.6696 GB, free: 5.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1271, allocations: 153.7 kB / 0.6697 GB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1275, allocations: 78.47 kB / 0.6698 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.1276, allocations: 20.94 kB / 0.6698 GB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.1278, allocations: 97.03 kB / 0.6699 GB, free: 4.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1278, allocations: 30.56 kB / 0.6699 GB, free: 4.859 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.1278, allocations: 0 / 0.6699 GB, free: 4.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001635/0.1294, allocations: 498.3 kB / 0.6704 GB, free: 4.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1295, allocations: 51.41 kB / 0.6705 GB, free: 4.258 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.1295, allocations: 97.84 kB / 0.6706 GB, free: 4.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1296, allocations: 29.7 kB / 0.6706 GB, free: 4.117 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.1296, allocations: 84.14 kB / 0.6707 GB, free: 4.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1296, allocations: 19.7 kB / 0.6707 GB, free: 4.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.1297, allocations: 7.938 kB / 0.6707 GB, free: 4.004 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.1298, allocations: 318.8 kB / 0.671 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1299, allocations: 27.97 kB / 0.671 GB, free: 3.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.13, allocations: 27.98 kB / 0.671 GB, free: 3.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1302, allocations: 64.83 kB / 0.6711 GB, free: 3.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1302, allocations: 0 / 0.6711 GB, free: 3.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002375/0.1304, allocations: 101.7 kB / 0.6712 GB, free: 3.457 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1304, allocations: 7.938 kB / 0.6712 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1305, allocations: 0 / 0.6712 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1305, allocations: 0 / 0.6712 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1306, allocations: 23.92 kB / 0.6712 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1306, allocations: 0 / 0.6712 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.1307, allocations: 15.98 kB / 0.6712 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1308, allocations: 4 kB / 0.6713 GB, free: 3.406 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 (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 7.128e-05/0.1308, allocations: 109.8 kB / 0.6714 GB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.1308, allocations: 11.84 kB / 0.6714 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1309, allocations: 7.953 kB / 0.6714 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1309, allocations: 4 kB / 0.6714 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1309, allocations: 0 / 0.6714 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1309, allocations: 0 / 0.6714 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.1315, allocations: 371.3 kB / 0.6717 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1315, allocations: 0 / 0.6717 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1316, allocations: 19.98 kB / 0.6718 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1316, allocations: 0 / 0.6718 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1316, allocations: 4 kB / 0.6718 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1316, allocations: 4.156 kB / 0.6718 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1317, allocations: 4 kB / 0.6718 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.132, allocations: 240.2 kB / 0.672 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.1321, allocations: 85 kB / 0.6721 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1321, allocations: 4.031 kB / 0.6721 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1323, allocations: 4 kB / 0.6721 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.1323, allocations: 11.98 kB / 0.6721 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.1323, allocations: 4 kB / 0.6721 GB, free: 2.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.1323, allocations: 79.22 kB / 0.6722 GB, free: 2.359 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 3.938 kB / 0.6722 GB, free: 2.355 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000201/0.1326, allocations: 16.06 kB / 0.6722 GB, free: 2.34 MB / 442.7 MB 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.0001288/0.1327, allocations: 111.2 kB / 0.6723 GB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1329, allocations: 71.89 kB / 0.6724 GB, free: 2.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.133, allocations: 0 / 0.6724 GB, free: 2.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1331, allocations: 31.98 kB / 0.6724 GB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1333, allocations: 12.89 kB / 0.6724 GB, free: 2.109 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1339, allocations: 274.1 kB / 0.6727 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1341, allocations: 0.6809 MB / 0.6733 GB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.685e-05/0.1342, allocations: 11.98 kB / 0.6733 GB, free: 1.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1342, allocations: 11.44 kB / 0.6734 GB, free: 1.078 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1342, allocations: 0 / 0.6734 GB, free: 1.078 MB / 442.7 MB Notification: Performance of Templates: time 0.002315/0.1365, allocations: 0.6531 MB / 0.674 GB, free: 440 kB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)