Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.859/1.859, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001213/0.001213, allocations: 175.5 kB / 393.1 MB, free: 4.078 MB / 314.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.422/1.422, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 90.81 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.623, allocations: 121.3 MB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00144/0.6245, allocations: 0.981 MB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.6256, allocations: 1.022 MB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.6257, allocations: 2.25 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.6257, allocations: 1.734 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.6257, allocations: 3.938 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.6262, allocations: 118 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.6263, allocations: 9.438 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.6263, allocations: 6.375 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.6263, allocations: 9.594 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.6264, allocations: 5.547 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.6264, allocations: 0.5 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.627, allocations: 330.6 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.627, allocations: 0.5625 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.627, allocations: 36.19 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.6273, allocations: 145.1 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6273, allocations: 0 / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6273, allocations: 0 / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6273, allocations: 0.5 kB / 1.043 GB, free: 56.96 MB / 0.698 GB 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.0003445/0.6277, allocations: 354.6 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6277, allocations: 8.969 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.6278, allocations: 0.9375 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.439e-05/0.6279, allocations: 166.7 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.6279, allocations: 384 / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.6279, allocations: 1.719 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.233e-05/0.628, allocations: 32.08 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.628, allocations: 192 / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.628, allocations: 4.781 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.628, allocations: 2.312 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.6281, allocations: 9.969 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.6282, allocations: 146.5 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.6283, allocations: 31.64 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.6283, allocations: 11.3 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.6283, allocations: 4.906 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.6283, allocations: 30.56 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.6283, allocations: 0.9688 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.6285, allocations: 47.28 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.6285, allocations: 51.41 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.6286, allocations: 94.52 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.6286, allocations: 25.7 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/0.6286, allocations: 90.41 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.6286, allocations: 10.17 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.6286, allocations: 2.094 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.6287, allocations: 311.5 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.6287, allocations: 5.469 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.6287, allocations: 4.406 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.6288, allocations: 12.52 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6288, allocations: 0 / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.084e-05/0.6288, allocations: 41.98 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6288, allocations: 7.812 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6289, allocations: 3.938 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6289, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.629, allocations: 17.39 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002529/0.6293, allocations: 0.5802 MB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.6293, allocations: 0.5 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.6294, allocations: 4.375 kB / 1.046 GB, free: 54.79 MB / 0.698 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 (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.151e-05/0.6294, allocations: 112.6 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.6294, allocations: 11.8 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.742e-05/0.6295, allocations: 45.05 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6295, allocations: 2.031 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6296, allocations: 0 / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6296, allocations: 0 / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.069e-05/0.6296, allocations: 155.8 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6296, allocations: 5.906 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.6297, allocations: 8.828 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6297, allocations: 0.9375 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.6297, allocations: 4.031 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001892/0.6299, allocations: 0.5808 MB / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.63, allocations: 4.453 kB / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.089e-05/0.63, allocations: 65.41 kB / 1.046 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.63, allocations: 85.41 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.6301, allocations: 0 / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.6301, allocations: 1.734 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.6301, allocations: 3.938 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.6301, allocations: 2.781 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.036e-05/0.6301, allocations: 83.22 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6301, allocations: 0 / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000185/0.6303, allocations: 13.84 kB / 1.047 GB, free: 53.57 MB / 0.698 GB 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.0001682/0.6305, allocations: 116.8 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.6307, allocations: 13.64 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6307, allocations: 3.406 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.6308, allocations: 20.95 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.6309, allocations: 6.062 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.6312, allocations: 111.3 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6314, allocations: 0.6736 MB / 1.048 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.6314, allocations: 0 / 1.048 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.6314, allocations: 8.562 kB / 1.048 GB, free: 52.65 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6314, allocations: 0 / 1.048 GB, free: 52.65 MB / 0.698 GB Notification: Performance of Templates: time 0.002302/0.6337, allocations: 426 kB / 1.048 GB, free: 52.58 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)