Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 193.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 69.09 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2471, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003034/0.2502, allocations: 1.672 MB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2524, allocations: 1.405 MB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2525, allocations: 11.94 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.2529, allocations: 75.58 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.2531, allocations: 79.52 kB / 0.7873 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.2538, allocations: 275.2 kB / 0.7876 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.254, allocations: 195.1 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.2541, allocations: 9.484 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2542, allocations: 87.62 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.2543, allocations: 79.72 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2544, allocations: 8 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.2549, allocations: 339.4 kB / 0.7882 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.255, allocations: 75.67 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.2551, allocations: 83.48 kB / 0.7884 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.2555, allocations: 402.9 kB / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2555, allocations: 0 / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2556, allocations: 0 / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2556, allocations: 0 / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008562/0.2564, allocations: 0.549 MB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2565, allocations: 11.97 kB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.2565, allocations: 24.66 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.2569, allocations: 291.5 kB / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2571, allocations: 55.97 kB / 0.7897 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2571, allocations: 4.375 kB / 0.7897 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.2573, allocations: 93.77 kB / 0.7898 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2573, allocations: 4 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2573, allocations: 4 kB / 0.7898 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2573, allocations: 0 / 0.7898 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.2576, allocations: 95.94 kB / 0.7899 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.2579, allocations: 257.4 kB / 0.7901 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.2592, allocations: 298.4 kB / 0.7904 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2594, allocations: 56.83 kB / 0.7905 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.2596, allocations: 101 kB / 0.7906 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2596, allocations: 34.5 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.2596, allocations: 0 / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005035/0.2601, allocations: 213.3 kB / 0.7908 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2602, allocations: 55.39 kB / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.2605, allocations: 299.2 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2605, allocations: 25.7 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.2606, allocations: 124.6 kB / 0.7913 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.2606, allocations: 23.64 kB / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.2607, allocations: 57.69 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2609, allocations: 330.8 kB / 0.7917 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.2611, allocations: 159.7 kB / 0.7918 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2613, allocations: 155.9 kB / 0.792 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.262, allocations: 294.3 kB / 0.7922 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.262, allocations: 0 / 0.7922 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008988/0.2629, allocations: 408.9 kB / 0.7926 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2629, allocations: 8 kB / 0.7926 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.263, allocations: 256 / 0.7926 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.263, allocations: 0 / 0.7926 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2632, allocations: 19.98 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2632, allocations: 3.938 kB / 0.7927 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.2634, allocations: 31.53 kB / 0.7927 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.2634, allocations: 4 kB / 0.7927 GB, free: 3.691 MB / 0.6075 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001536/0.2636, allocations: 133.8 kB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.2636, allocations: 23.66 kB / 0.7928 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.2642, allocations: 171.4 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2642, allocations: 4 kB / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2642, allocations: 0 / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2642, allocations: 0 / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.2645, allocations: 241.5 kB / 0.7932 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2645, allocations: 0 / 0.7932 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.2647, allocations: 23.86 kB / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2647, allocations: 0 / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2647, allocations: 0 / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2647, allocations: 160 / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2647, allocations: 4 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.265, allocations: 180.7 kB / 0.7934 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.2651, allocations: 112.7 kB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.2652, allocations: 0 / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.2653, allocations: 4 kB / 0.7936 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.2653, allocations: 11.98 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2653, allocations: 0 / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001759/0.2655, allocations: 197.9 kB / 0.7938 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2655, allocations: 0 / 0.7938 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004583/0.266, allocations: 119.9 kB / 0.7939 GB, free: 2.391 MB / 0.6075 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 (6): * Single equations (assignments): 6 * 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.0004757/0.2665, allocations: 255 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.267, allocations: 367.2 kB / 0.7945 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.267, allocations: 0 / 0.7945 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2672, allocations: 56.09 kB / 0.7945 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.2675, allocations: 44.67 kB / 0.7946 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.268, allocations: 396.1 kB / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.2683, allocations: 0.7357 MB / 0.7957 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.2684, allocations: 21.08 kB / 0.7957 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.2685, allocations: 15.44 kB / 0.7957 GB, free: 460 kB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2685, allocations: 0 / 0.7957 GB, free: 460 kB / 0.6075 GB Notification: Performance of Templates: time 0.006355/0.2748, allocations: 3.145 MB / 0.7988 GB, free: 13.35 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)