Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008447/0.0008447, allocations: 184 kB / 16.08 MB, free: 5.152 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4545/0.4545, allocations: 89.06 MB / 105.9 MB, free: 15.94 MB / 90.72 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.284/1.284, allocations: 225.7 MB / 353.2 MB, free: 11.8 MB / 282.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.000705/0.0007051, allocations: 95.91 kB / 425.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002949, allocations: 8 kB / 0.4955 GB, free: 10.64 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 71.33 MB / 0.5652 GB, free: 3.152 MB / 458.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.0013/0.1265, allocations: 0.9667 MB / 0.5661 GB, free: 2.176 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1276, allocations: 1.033 MB / 0.5672 GB, free: 1.031 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.1277, allocations: 0 / 0.5672 GB, free: 1.031 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1277, allocations: 0 / 0.5672 GB, free: 1.031 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.1278, allocations: 4 kB / 0.5672 GB, free: 1.027 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.1282, allocations: 115.6 kB / 0.5673 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.906e-05/0.1283, allocations: 15.92 kB / 0.5673 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1283, allocations: 0 / 0.5673 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.1283, allocations: 4 kB / 0.5673 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.1284, allocations: 3.938 kB / 0.5673 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.1284, allocations: 0 / 0.5673 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.1289, allocations: 339.3 kB / 0.5676 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1289, allocations: 7.984 kB / 0.5676 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.1289, allocations: 25.7 kB / 0.5676 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1292, allocations: 143.9 kB / 0.5678 GB, free: 388 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1292, allocations: 0 / 0.5678 GB, free: 388 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1292, allocations: 3.938 kB / 0.5678 GB, free: 384 kB / 458.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.1292, allocations: 0 / 0.5678 GB, free: 384 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000345/0.1296, allocations: 355.4 kB / 0.5681 GB, free: 15.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1296, allocations: 8.031 kB / 0.5681 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1296, allocations: 0.9375 kB / 0.5681 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1297, allocations: 176.4 kB / 0.5683 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1298, allocations: 384 / 0.5683 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.1298, allocations: 384 / 0.5683 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.1299, allocations: 34.2 kB / 0.5683 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.1299, allocations: 192 / 0.5683 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1299, allocations: 7.922 kB / 0.5683 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1299, allocations: 0 / 0.5683 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.1299, allocations: 7.938 kB / 0.5684 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1301, allocations: 149.7 kB / 0.5685 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.1301, allocations: 30.56 kB / 0.5685 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.1302, allocations: 8.922 kB / 0.5685 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1302, allocations: 0 / 0.5685 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1302, allocations: 30.56 kB / 0.5686 GB, free: 15.42 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.1302, allocations: 3.938 kB / 0.5686 GB, free: 15.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.1303, allocations: 41.64 kB / 0.5686 GB, free: 15.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.1304, allocations: 55.53 kB / 0.5687 GB, free: 15.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.1304, allocations: 97.84 kB / 0.5688 GB, free: 15.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1305, allocations: 25.7 kB / 0.5688 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.1305, allocations: 80.14 kB / 0.5689 GB, free: 15.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1305, allocations: 11.91 kB / 0.5689 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.1305, allocations: 0 / 0.5689 GB, free: 15.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.1306, allocations: 310.8 kB / 0.5692 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1306, allocations: 0 / 0.5692 GB, free: 14.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.1307, allocations: 8.125 kB / 0.5692 GB, free: 14.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.1307, allocations: 20.78 kB / 0.5692 GB, free: 14.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1307, allocations: 0 / 0.5692 GB, free: 14.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.821e-05/0.1308, allocations: 33.7 kB / 0.5692 GB, free: 14.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1308, allocations: 8 kB / 0.5692 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1308, allocations: 3.938 kB / 0.5692 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1308, allocations: 0 / 0.5692 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.131, allocations: 11.98 kB / 0.5692 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003229/0.1313, allocations: 0.5861 MB / 0.5698 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.1313, allocations: 7.906 kB / 0.5698 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1313, allocations: 0 / 0.5698 GB, free: 14.05 MB / 474.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.1314, allocations: 113.8 kB / 0.5699 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.1314, allocations: 0 / 0.5699 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.1315, allocations: 48.91 kB / 0.57 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1315, allocations: 3.938 kB / 0.57 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1315, allocations: 0 / 0.57 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1315, allocations: 0 / 0.57 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.1316, allocations: 157.6 kB / 0.5701 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1317, allocations: 0 / 0.5701 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.1317, allocations: 11.98 kB / 0.5701 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1317, allocations: 3.938 kB / 0.5701 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1318, allocations: 3.938 kB / 0.5702 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002855/0.132, allocations: 0.5861 MB / 0.5707 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1321, allocations: 3.938 kB / 0.5707 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.1321, allocations: 61.16 kB / 0.5708 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.1322, allocations: 77.11 kB / 0.5709 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1322, allocations: 3.984 kB / 0.5709 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.1322, allocations: 8.125 kB / 0.5709 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.1322, allocations: 7.875 kB / 0.5709 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1322, allocations: 4 kB / 0.5709 GB, free: 12.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.1323, allocations: 75.28 kB / 0.571 GB, free: 12.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1323, allocations: 4 kB / 0.571 GB, free: 12.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.1325, allocations: 4 kB / 0.571 GB, free: 12.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.1326, allocations: 127.2 kB / 0.5711 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1328, allocations: 24.08 kB / 0.5711 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1328, allocations: 0 / 0.5711 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1329, allocations: 11.98 kB / 0.5711 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1331, allocations: 7.938 kB / 0.5711 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.1334, allocations: 119 kB / 0.5712 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1336, allocations: 0.6772 MB / 0.5719 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.71e-05/0.1337, allocations: 4 kB / 0.5719 GB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.1337, allocations: 7.438 kB / 0.5719 GB, free: 11.71 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1337, allocations: 0 / 0.5719 GB, free: 11.71 MB / 474.7 MB Notification: Performance of Templates: time 0.002066/0.1357, allocations: 414.5 kB / 0.5723 GB, free: 11.32 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)