Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.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.0009883/0.0009883, allocations: 182.8 kB / 330.8 MB, free: 468 kB / 250.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.483/1.483, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.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.0008412/0.0008412, allocations: 91.62 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003367, allocations: 8.938 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 109.2 MB / 0.9327 GB, free: 24.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001356/0.1812, allocations: 1.012 MB / 0.9337 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1823, allocations: 1.029 MB / 0.9347 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1823, allocations: 0 / 0.9347 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.1824, allocations: 3.938 kB / 0.9347 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.1824, allocations: 4 kB / 0.9347 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1828, allocations: 127.6 kB / 0.9349 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.1828, allocations: 19.88 kB / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.1829, allocations: 3.938 kB / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.1829, allocations: 15.97 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.183, allocations: 7.938 kB / 0.9349 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.183, allocations: 0 / 0.9349 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.1834, allocations: 335.4 kB / 0.9352 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1834, allocations: 7.984 kB / 0.9352 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1835, allocations: 33.64 kB / 0.9353 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1837, allocations: 143.9 kB / 0.9354 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1837, allocations: 0 / 0.9354 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1837, allocations: 0 / 0.9354 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.1837, allocations: 0 / 0.9354 GB, free: 21.24 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003574/0.1841, allocations: 355.5 kB / 0.9358 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1841, allocations: 13.11 kB / 0.9358 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1842, allocations: 0.9375 kB / 0.9358 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1843, allocations: 180.2 kB / 0.9359 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1843, allocations: 384 / 0.9359 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1843, allocations: 8.359 kB / 0.9359 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1845, allocations: 42.25 kB / 0.936 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1845, allocations: 192 / 0.936 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1845, allocations: 3.938 kB / 0.936 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1845, allocations: 0 / 0.936 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.1846, allocations: 16 kB / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1849, allocations: 249 kB / 0.9362 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1851, allocations: 50.5 kB / 0.9363 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.1851, allocations: 24.78 kB / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1852, allocations: 4 kB / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.1852, allocations: 30.56 kB / 0.9363 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1852, allocations: 0 / 0.9363 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.1853, allocations: 61.62 kB / 0.9364 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.1854, allocations: 51.41 kB / 0.9365 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.1854, allocations: 97.84 kB / 0.9365 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.1854, allocations: 29.7 kB / 0.9366 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.1855, allocations: 92.03 kB / 0.9367 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.1855, allocations: 7.844 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1855, allocations: 0 / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.1856, allocations: 322.8 kB / 0.937 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.1856, allocations: 8 kB / 0.937 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.1856, allocations: 21.66 kB / 0.937 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.1857, allocations: 33.64 kB / 0.937 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1857, allocations: 0 / 0.937 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.684e-05/0.1857, allocations: 61.53 kB / 0.9371 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1858, allocations: 11.91 kB / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1858, allocations: 0 / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1858, allocations: 128 / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.1858, allocations: 16.03 kB / 0.9371 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1859, allocations: 3.938 kB / 0.9371 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.1859, allocations: 0 / 0.9371 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1859, allocations: 4 kB / 0.9371 GB, free: 19.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.92e-05/0.1859, allocations: 114.4 kB / 0.9372 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.186, allocations: 4.422 kB / 0.9372 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1861, allocations: 65.14 kB / 0.9373 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1861, allocations: 8 kB / 0.9373 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1861, allocations: 0 / 0.9373 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1861, allocations: 0 / 0.9373 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1862, allocations: 157.6 kB / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1863, allocations: 0 / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1863, allocations: 11.94 kB / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1863, allocations: 0 / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1863, allocations: 0 / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1863, allocations: 3.984 kB / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1863, allocations: 0 / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.1864, allocations: 159.4 kB / 0.9376 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.1864, allocations: 77.11 kB / 0.9377 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1865, allocations: 8 kB / 0.9377 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.1865, allocations: 0 / 0.9377 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1865, allocations: 0 / 0.9377 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1865, allocations: 3.938 kB / 0.9377 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.1866, allocations: 83.27 kB / 0.9378 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1866, allocations: 0 / 0.9378 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002193/0.1868, allocations: 23.94 kB / 0.9378 GB, free: 18.44 MB / 0.5886 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 (4): * Single equations (assignments): 4 * 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.000178/0.187, allocations: 131.2 kB / 0.9379 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.1871, allocations: 23.92 kB / 0.938 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1871, allocations: 4 kB / 0.938 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.1871, allocations: 8 kB / 0.938 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.1873, allocations: 7.938 kB / 0.938 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.1875, allocations: 136.6 kB / 0.9381 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.1877, allocations: 0.6731 MB / 0.9388 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.1877, allocations: 4.25 kB / 0.9388 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.1877, allocations: 11.42 kB / 0.9388 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.1877, allocations: 0 / 0.9388 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.002249/0.19, allocations: 499.5 kB / 0.9393 GB, free: 16.89 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)