Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.192/2.192, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 197.3 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 111.1 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 48.39 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2784, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8305/1.109, allocations: 235.4 MB / 1.448 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02201/1.131, allocations: 15.91 MB / 1.464 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/1.134, allocations: 61.16 kB / 1.464 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003213/1.138, allocations: 0.8683 MB / 1.464 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.009774/1.147, allocations: 2.794 MB / 1.467 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.005656/1.153, allocations: 1.511 MB / 1.469 GB, free: 1.527 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.007323/1.161, allocations: 4.684 MB / 1.473 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/1.164, allocations: 1.075 MB / 1.474 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009037/1.173, allocations: 2.268 MB / 1.476 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003774/1.177, allocations: 1.126 MB / 1.478 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0004079/1.177, allocations: 66.41 kB / 1.478 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007446/1.184, allocations: 3.587 MB / 1.481 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/1.186, allocations: 429.8 kB / 1.482 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001771/1.187, allocations: 0.7568 MB / 1.482 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007904/1.195, allocations: 3.098 MB / 1.485 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.195, allocations: 7.938 kB / 1.485 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/1.195, allocations: 0 / 1.485 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.55e-05/1.195, allocations: 0 / 1.485 GB, free: 0.6914 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005075/1.2, allocations: 2.003 MB / 1.487 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.2, allocations: 14.7 kB / 1.487 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/1.203, allocations: 0.4934 MB / 1.488 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/1.206, allocations: 1.112 MB / 1.489 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009496/1.207, allocations: 249.1 kB / 1.489 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.207, allocations: 96.91 kB / 1.489 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/1.209, allocations: 1.317 MB / 1.49 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.209, allocations: 6.562 kB / 1.49 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/1.21, allocations: 52.59 kB / 1.491 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/1.21, allocations: 44.55 kB / 1.491 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/1.212, allocations: 1.076 MB / 1.492 GB, free: 14.8 MB / 0.9323 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.008955/1.221, allocations: 6.624 MB / 1.498 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.223, allocations: 0.5689 MB / 1.499 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/1.223, allocations: 272 kB / 1.499 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/1.224, allocations: 290.7 kB / 1.499 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.224, allocations: 30.84 kB / 1.499 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.356e-06/1.224, allocations: 2.812 kB / 1.499 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002761/1.227, allocations: 0.8695 MB / 1.5 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.227, allocations: 54.5 kB / 1.5 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.229, allocations: 1.357 MB / 1.501 GB, free: 9.852 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/1.229, allocations: 35.39 kB / 1.501 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/1.229, allocations: 0.6864 MB / 1.502 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.23, allocations: 119.8 kB / 1.502 GB, free: 9.488 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/1.23, allocations: 155.2 kB / 1.502 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.23, allocations: 334.3 kB / 1.503 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/1.231, allocations: 316.9 kB / 1.503 GB, free: 9.137 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.232, allocations: 0.6351 MB / 1.504 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/1.234, allocations: 0.8705 MB / 1.505 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.234, allocations: 3.312 kB / 1.505 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002717/1.237, allocations: 1.018 MB / 1.506 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.237, allocations: 7 kB / 1.506 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.237, allocations: 8.656 kB / 1.506 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/1.237, allocations: 13.25 kB / 1.506 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/1.238, allocations: 203 kB / 1.506 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/1.238, allocations: 18.5 kB / 1.506 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.239, allocations: 213.8 kB / 1.506 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/1.24, allocations: 45.14 kB / 1.506 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001379/1.241, allocations: 0.5688 MB / 1.507 GB, free: 8.062 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001156/1.242, allocations: 0.6371 MB / 1.507 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001805/1.244, allocations: 0.8674 MB / 1.508 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.773e-06/1.244, allocations: 2.406 kB / 1.508 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002549/1.246, allocations: 1.02 MB / 1.509 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.247, allocations: 10.75 kB / 1.509 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.247, allocations: 9.25 kB / 1.509 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.247, allocations: 13.94 kB / 1.509 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/1.247, allocations: 201.9 kB / 1.509 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/1.247, allocations: 18.55 kB / 1.509 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.249, allocations: 159 kB / 1.509 GB, free: 7.102 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.249, allocations: 37.8 kB / 1.509 GB, free: 7.102 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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 0.0003943/1.25, allocations: 236.1 kB / 1.51 GB, free: 6.91 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.25, allocations: 144.1 kB / 1.51 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/1.253, allocations: 0.6557 MB / 1.51 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/1.253, allocations: 3.656 kB / 1.51 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.253, allocations: 0 / 1.51 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.253, allocations: 3.922 kB / 1.51 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004942/1.258, allocations: 1.927 MB / 1.512 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.258, allocations: 14.5 kB / 1.512 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/1.258, allocations: 92.81 kB / 1.512 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.258, allocations: 6.375 kB / 1.512 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/1.258, allocations: 15.78 kB / 1.512 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.258, allocations: 7.859 kB / 1.512 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.258, allocations: 4.844 kB / 1.512 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/1.262, allocations: 1.917 MB / 1.514 GB, free: 5.246 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/1.263, allocations: 300.3 kB / 1.515 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.263, allocations: 11.12 kB / 1.515 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.264, allocations: 97.09 kB / 1.515 GB, free: 5.062 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/1.264, allocations: 40.53 kB / 1.515 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/1.264, allocations: 21.33 kB / 1.515 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001725/1.266, allocations: 0.988 MB / 1.516 GB, free: 4.938 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.41e-07/1.266, allocations: 0.9375 kB / 1.516 GB, free: 4.938 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002524/1.268, allocations: 0.5799 MB / 1.516 GB, free: 4.883 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0006601/1.269, allocations: 268.6 kB / 1.517 GB, free: 4.75 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003038/1.272, allocations: 1.102 MB / 1.518 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.272, allocations: 0 / 1.518 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/1.273, allocations: 259.3 kB / 1.518 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.277, allocations: 0.7621 MB / 1.519 GB, free: 4.629 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/1.284, allocations: 2.911 MB / 1.521 GB, free: 3.094 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/1.285, allocations: 1.189 MB / 1.523 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002037/1.287, allocations: 365.8 kB / 1.523 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/1.287, allocations: 94.03 kB / 1.523 GB, free: 2.266 MB / 0.9323 GB Notification: Performance of SimCode: time 2.425e-06/1.287, allocations: 0 / 1.523 GB, free: 2.266 MB / 0.9323 GB Notification: Performance of Templates: time 0.04546/1.333, allocations: 24.53 MB / 1.547 GB, free: 1.781 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)