Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 171 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205 MB / 0.5767 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000756/0.000756, allocations: 82.75 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 8.969 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001313/0.1511, allocations: 1.309 MB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.152, allocations: 0.7418 MB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.017e-05/0.1521, allocations: 7.938 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.029e-05/0.1522, allocations: 7.922 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.1522, allocations: 7.875 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.IO.Files.BaseClasses.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1525, allocations: 103.8 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1527, allocations: 143.5 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1528, allocations: 40.94 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.1528, allocations: 43.78 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.1529, allocations: 55.75 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1529, allocations: 4 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.153, allocations: 51.95 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.153, allocations: 23.86 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1531, allocations: 59.64 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1533, allocations: 147.5 kB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1533, allocations: 0 / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1533, allocations: 0 / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1533, allocations: 0 / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005893/0.1539, allocations: 0.5235 MB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1539, allocations: 12.03 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.154, allocations: 16.75 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1541, allocations: 231.9 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1541, allocations: 12.36 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1542, allocations: 8.375 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.1544, allocations: 138.5 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1544, allocations: 0 / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1544, allocations: 0 / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1545, allocations: 8 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1547, allocations: 79.88 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.1551, allocations: 472.8 kB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1553, allocations: 93.12 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1554, allocations: 53.81 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1555, allocations: 4 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.1557, allocations: 153 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1557, allocations: 4 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004696/0.1562, allocations: 205.3 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1562, allocations: 85.16 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.1563, allocations: 166.8 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1563, allocations: 34.08 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.1564, allocations: 116.3 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1564, allocations: 23.66 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.1564, allocations: 21.7 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.1565, allocations: 334.7 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1566, allocations: 43.97 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1568, allocations: 122.3 kB / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.157, allocations: 167.5 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.157, allocations: 0 / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000293/0.1573, allocations: 177.3 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1573, allocations: 8 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1573, allocations: 0 / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1574, allocations: 4 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.1575, allocations: 28.16 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1575, allocations: 4 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-05/0.1576, allocations: 16 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1576, allocations: 11.92 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.951e-05/0.1577, allocations: 137.9 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.1577, allocations: 15.81 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.1577, allocations: 21.39 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1577, allocations: 4 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1577, allocations: 4 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.1578, allocations: 85.02 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1578, allocations: 7.922 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1579, allocations: 23.98 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1579, allocations: 7.984 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003409/0.1583, allocations: 328.1 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003195/0.1586, allocations: 421.7 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001273/0.1588, allocations: 55.97 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.1588, allocations: 119.2 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of Backend: time 2.6e-07/0.1588, allocations: 0 / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.1595, allocations: 249.5 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003986/0.1599, allocations: 0.6973 MB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.003607/0.1635, allocations: 1.765 MB / 0.9065 GB, free: 57.82 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)