Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.683/1.683, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.00109/0.00109, allocations: 187.2 kB / 393.1 MB, free: 4.094 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.357/1.357, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008076/0.0008077, allocations: 100.6 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 8 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.536, allocations: 121.3 MB / 1.041 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2375/0.7735, allocations: 247.1 MB / 1.282 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.7974, allocations: 23.06 MB / 1.305 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.7999, allocations: 67.56 kB / 1.305 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.8024, allocations: 0.9053 MB / 1.306 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.008654/0.8111, allocations: 3.574 MB / 1.309 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.8152, allocations: 1.649 MB / 1.311 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.007379/0.8226, allocations: 6.774 MB / 1.317 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.8249, allocations: 1.496 MB / 1.319 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.8289, allocations: 1.879 MB / 1.321 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.8321, allocations: 1.48 MB / 1.322 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.8323, allocations: 68 kB / 1.322 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.493/1.325, allocations: 2.641 MB / 1.325 GB, free: 57.33 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/1.327, allocations: 467.5 kB / 1.325 GB, free: 57.33 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002516/1.329, allocations: 0.9876 MB / 1.326 GB, free: 57.3 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.008872/1.338, allocations: 3.636 MB / 1.33 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.338, allocations: 0 / 1.33 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.146e-06/1.338, allocations: 0.6562 kB / 1.33 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001077/1.338, allocations: 3.094 kB / 1.33 GB, free: 57.21 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.0061/1.344, allocations: 2.094 MB / 1.332 GB, free: 56.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.344, allocations: 10.84 kB / 1.332 GB, free: 56.14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/1.347, allocations: 379.7 kB / 1.332 GB, free: 56.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/1.349, allocations: 1.408 MB / 1.333 GB, free: 55.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/1.35, allocations: 113 kB / 1.334 GB, free: 55.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.35, allocations: 140.3 kB / 1.334 GB, free: 55.58 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/1.353, allocations: 1.504 MB / 1.335 GB, free: 55.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.353, allocations: 6.734 kB / 1.335 GB, free: 55.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.353, allocations: 58.12 kB / 1.335 GB, free: 55.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.849e-05/1.353, allocations: 55.98 kB / 1.335 GB, free: 55.37 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/1.355, allocations: 1.153 MB / 1.336 GB, free: 55.35 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00831/1.364, allocations: 7.195 MB / 1.343 GB, free: 51.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.365, allocations: 0.8303 MB / 1.344 GB, free: 51.26 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/1.366, allocations: 445.2 kB / 1.345 GB, free: 51.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/1.366, allocations: 0.7327 MB / 1.345 GB, free: 50.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/1.366, allocations: 42.53 kB / 1.345 GB, free: 50.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 3.056e-06/1.366, allocations: 0 / 1.345 GB, free: 50.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.006478/1.373, allocations: 2.136 MB / 1.348 GB, free: 49.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.373, allocations: 63.25 kB / 1.348 GB, free: 49.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.375, allocations: 1.289 MB / 1.349 GB, free: 49.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.375, allocations: 41.23 kB / 1.349 GB, free: 49.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/1.376, allocations: 0.7997 MB / 1.35 GB, free: 49.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/1.376, allocations: 253.5 kB / 1.35 GB, free: 49.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/1.376, allocations: 16.41 kB / 1.35 GB, free: 49.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/1.376, allocations: 349.7 kB / 1.35 GB, free: 48.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/1.377, allocations: 335.4 kB / 1.351 GB, free: 48.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/1.378, allocations: 0.565 MB / 1.351 GB, free: 48.69 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/1.379, allocations: 0.8842 MB / 1.352 GB, free: 48.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.379, allocations: 4.656 kB / 1.352 GB, free: 48.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00259/1.381, allocations: 1.279 MB / 1.353 GB, free: 48.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.382, allocations: 231.1 kB / 1.353 GB, free: 48.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.382, allocations: 4.156 kB / 1.353 GB, free: 48.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/1.384, allocations: 428.3 kB / 1.354 GB, free: 48.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/1.384, allocations: 158.6 kB / 1.354 GB, free: 48.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/1.386, allocations: 2.05 MB / 1.356 GB, free: 46.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.387, allocations: 189.4 kB / 1.356 GB, free: 46.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.387, allocations: 33.75 kB / 1.356 GB, free: 46.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/1.387, allocations: 2.812 kB / 1.356 GB, free: 46.42 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001908/1.389, allocations: 1.063 MB / 1.357 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.389, allocations: 10.94 kB / 1.357 GB, free: 46.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/1.391, allocations: 369.9 kB / 1.358 GB, free: 46.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/1.391, allocations: 156.7 kB / 1.358 GB, free: 46.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/1.394, allocations: 3.873 MB / 1.362 GB, free: 43.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.396, allocations: 171.4 kB / 1.362 GB, free: 43.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.396, allocations: 37.19 kB / 1.362 GB, free: 43.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009462/1.397, allocations: 464 kB / 1.362 GB, free: 42.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/1.397, allocations: 161.7 kB / 1.362 GB, free: 42.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/1.4, allocations: 1.208 MB / 1.364 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.4, allocations: 7.031 kB / 1.364 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.4, allocations: 1.859 kB / 1.364 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002223/1.403, allocations: 1.303 MB / 1.365 GB, free: 42.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/1.408, allocations: 2.762 MB / 1.368 GB, free: 41.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.408, allocations: 2.844 kB / 1.368 GB, free: 41.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/1.409, allocations: 110 kB / 1.368 GB, free: 41.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/1.41, allocations: 369.9 kB / 1.368 GB, free: 41.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/1.411, allocations: 18.7 kB / 1.368 GB, free: 41.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/1.412, allocations: 2.029 MB / 1.37 GB, free: 40.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/1.412, allocations: 3.375 kB / 1.37 GB, free: 40.12 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/1.414, allocations: 1.23 MB / 1.371 GB, free: 39.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.415, allocations: 338.8 kB / 1.372 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000532/1.416, allocations: 17.09 kB / 1.372 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.417, allocations: 121.3 kB / 1.372 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.418, allocations: 55.94 kB / 1.372 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.418, allocations: 32.91 kB / 1.372 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001884/1.42, allocations: 0.8684 MB / 1.373 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/1.42, allocations: 1.062 kB / 1.373 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004253/1.424, allocations: 0.9022 MB / 1.373 GB, free: 39.31 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/1.425, allocations: 391.5 kB / 1.374 GB, free: 39.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003956/1.429, allocations: 1.666 MB / 1.375 GB, free: 38.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.429, allocations: 2.438 kB / 1.375 GB, free: 38.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.43, allocations: 477.8 kB / 1.376 GB, free: 38.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/1.435, allocations: 0.8034 MB / 1.377 GB, free: 38.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/1.441, allocations: 3.345 MB / 1.38 GB, free: 37.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/1.442, allocations: 1.338 MB / 1.381 GB, free: 36.29 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001982/1.444, allocations: 320.3 kB / 1.382 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.445, allocations: 97.72 kB / 1.382 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of SimCode: time 2.405e-06/1.445, allocations: 0 / 1.382 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.05273/1.498, allocations: 31.08 MB / 1.412 GB, free: 28.49 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)