Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.66/2.66, allocations: 255 MB / 269.9 MB, free: 9.641 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.002063/0.002063, allocations: 191.1 kB / 329.5 MB, free: 1.176 MB / 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 2.399/2.399, allocations: 225.6 MB / 0.6001 GB, free: 2.258 MB / 426.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.00101/0.00101, allocations: 102.1 kB / 0.7074 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006882/0.0006882, allocations: 13.62 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2095, allocations: 109.1 MB / 0.9308 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.035/1.244, allocations: 277.4 MB / 1.202 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.09645/1.341, allocations: 46.47 MB / 1.247 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01096/1.352, allocations: 250.3 kB / 1.247 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01228/1.364, allocations: 2.376 MB / 1.25 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.03088/1.395, allocations: 7.231 MB / 1.257 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02147/1.417, allocations: 4.637 MB / 1.261 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04605/1.463, allocations: 21.04 MB / 1.282 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01924/1.482, allocations: 4.495 MB / 1.286 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02969/1.512, allocations: 5.899 MB / 1.292 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01743/1.529, allocations: 4.596 MB / 1.296 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.003478/1.533, allocations: 228 kB / 1.297 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/1.548, allocations: 2.635 MB / 1.299 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002941/1.551, allocations: 1.05 MB / 1.3 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003723/1.555, allocations: 1.365 MB / 1.302 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/1.571, allocations: 7.378 MB / 1.309 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.571, allocations: 0 / 1.309 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.876e-06/1.571, allocations: 4 kB / 1.309 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002674/1.571, allocations: 0 / 1.309 GB, free: 3.039 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01681/1.588, allocations: 6.246 MB / 1.315 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.588, allocations: 8.031 kB / 1.315 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/1.591, allocations: 0.7764 MB / 1.316 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1.609, allocations: 4.947 MB / 1.32 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/1.61, allocations: 324.1 kB / 1.321 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/1.612, allocations: 432 kB / 1.321 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/1.624, allocations: 4.315 MB / 1.325 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/1.624, allocations: 27.75 kB / 1.325 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005522/1.625, allocations: 172 kB / 1.326 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/1.625, allocations: 119.9 kB / 1.326 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008583/1.634, allocations: 2.941 MB / 1.329 GB, free: 14.24 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.04073/1.674, allocations: 24.98 MB / 1.353 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004972/1.679, allocations: 2.761 MB / 1.356 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6191/2.299, allocations: 0.9854 MB / 1.357 GB, free: 324.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003624/2.302, allocations: 3.92 MB / 1.36 GB, free: 320.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/2.302, allocations: 59 kB / 1.361 GB, free: 320.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 5.67e-06/2.302, allocations: 3.938 kB / 1.361 GB, free: 320.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.01948/2.322, allocations: 4.065 MB / 1.364 GB, free: 319.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/2.322, allocations: 78.14 kB / 1.365 GB, free: 319.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/2.334, allocations: 4.158 MB / 1.369 GB, free: 317.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006018/2.335, allocations: 80.14 kB / 1.369 GB, free: 317.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002865/2.338, allocations: 2.777 MB / 1.371 GB, free: 316 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/2.339, allocations: 0.7639 MB / 1.372 GB, free: 315.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/2.339, allocations: 58.78 kB / 1.372 GB, free: 315.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001897/2.339, allocations: 413.9 kB / 1.373 GB, free: 315 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/2.342, allocations: 0.7862 MB / 1.373 GB, free: 314.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/2.345, allocations: 1.798 MB / 1.375 GB, free: 313.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/2.349, allocations: 1.078 MB / 1.376 GB, free: 312.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.09e-05/2.349, allocations: 9.109 kB / 1.376 GB, free: 312.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01382/2.362, allocations: 3.499 MB / 1.38 GB, free: 311.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004743/2.363, allocations: 0.7424 MB / 1.38 GB, free: 310.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/2.363, allocations: 22.69 kB / 1.38 GB, free: 310.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004627/2.368, allocations: 0.5566 MB / 1.381 GB, free: 310.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/2.372, allocations: 0.5602 MB / 1.381 GB, free: 310.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/2.375, allocations: 2.693 MB / 1.384 GB, free: 307.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0082/2.383, allocations: 0.6124 MB / 1.385 GB, free: 307.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007234/2.384, allocations: 138.2 kB / 1.385 GB, free: 307.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/2.384, allocations: 3.75 kB / 1.385 GB, free: 307.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009432/2.393, allocations: 2.804 MB / 1.388 GB, free: 306.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-05/2.393, allocations: 21.06 kB / 1.388 GB, free: 306.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/2.395, allocations: 372 kB / 1.388 GB, free: 306.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/2.399, allocations: 0.5546 MB / 1.388 GB, free: 306.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/2.411, allocations: 7.707 MB / 1.396 GB, free: 299.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009118/2.42, allocations: 0.5733 MB / 1.397 GB, free: 299.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007587/2.421, allocations: 131.2 kB / 1.397 GB, free: 299.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004311/2.425, allocations: 0.9992 MB / 1.398 GB, free: 298.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/2.427, allocations: 0.5063 MB / 1.398 GB, free: 298.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/2.443, allocations: 3.583 MB / 1.402 GB, free: 296.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/2.443, allocations: 40.75 kB / 1.402 GB, free: 296.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/2.443, allocations: 3.453 kB / 1.402 GB, free: 296.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009926/2.453, allocations: 2.432 MB / 1.404 GB, free: 295.9 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.03008/2.483, allocations: 8.16 MB / 1.412 GB, free: 291.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/2.483, allocations: 5.844 kB / 1.412 GB, free: 291.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/2.487, allocations: 367.4 kB / 1.412 GB, free: 291.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/2.489, allocations: 299.9 kB / 1.413 GB, free: 291.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004596/2.489, allocations: 64.86 kB / 1.413 GB, free: 291.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/2.492, allocations: 2.493 MB / 1.415 GB, free: 289.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.492, allocations: 0 / 1.415 GB, free: 289.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/2.509, allocations: 4.328 MB / 1.419 GB, free: 287.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/2.513, allocations: 0.9612 MB / 1.42 GB, free: 286.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/2.516, allocations: 47.81 kB / 1.42 GB, free: 286.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009403/2.525, allocations: 423.8 kB / 1.421 GB, free: 286.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007149/2.526, allocations: 149 kB / 1.421 GB, free: 286.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004924/2.526, allocations: 103.2 kB / 1.421 GB, free: 286.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01062/2.537, allocations: 2.738 MB / 1.424 GB, free: 284.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.645e-06/2.537, allocations: 0 / 1.424 GB, free: 284.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0227/2.56, allocations: 3.251 MB / 1.427 GB, free: 284.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005034/2.565, allocations: 1.437 MB / 1.428 GB, free: 283.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01665/2.582, allocations: 4.4 MB / 1.433 GB, free: 280.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/2.582, allocations: 0 / 1.433 GB, free: 280.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004769/2.586, allocations: 1.237 MB / 1.434 GB, free: 279.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03221/2.619, allocations: 2.666 MB / 1.436 GB, free: 277 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/2.65, allocations: 11.02 MB / 1.447 GB, free: 266 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007539/2.658, allocations: 2.869 MB / 1.45 GB, free: 263.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01054/2.668, allocations: 1.153 MB / 1.451 GB, free: 261.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/2.67, allocations: 411.2 kB / 1.451 GB, free: 261.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/2.67, allocations: 0 / 1.451 GB, free: 261.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.3001/2.97, allocations: 100.4 MB / 1.55 GB, free: 162.2 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)