Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.2 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 185 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.304/2.304, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 103.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004691, allocations: 15.55 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.315, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.419, allocations: 139.8 MB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.419, allocations: 89.77 kB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008743/1.428, allocations: 2.993 MB / 1.119 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.428, allocations: 3.844 kB / 1.119 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.375e-05/1.428, allocations: 0 / 1.119 GB, free: 31.93 MB / 0.698 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.0007639/1.429, allocations: 0.5334 MB / 1.12 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.429, allocations: 11.73 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/1.429, allocations: 45.28 kB / 1.12 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/1.429, allocations: 19.47 kB / 1.12 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/1.429, allocations: 217.9 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/1.429, allocations: 10.8 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/1.429, allocations: 11.59 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/1.429, allocations: 121.6 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.429, allocations: 0 / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.429, allocations: 11.72 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.429, allocations: 8 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/1.43, allocations: 79.73 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/1.43, allocations: 474.5 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/1.43, allocations: 91.83 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/1.43, allocations: 0 / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/1.431, allocations: 152.5 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/1.431, allocations: 0 / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0005253/1.431, allocations: 208 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/1.431, allocations: 95.56 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.431, allocations: 141.3 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/1.431, allocations: 37.48 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/1.431, allocations: 108.8 kB / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/1.432, allocations: 27.25 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.432, allocations: 3.812 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.432, allocations: 323.5 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.432, allocations: 43.83 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/1.432, allocations: 121.7 kB / 1.122 GB, free: 29.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/1.432, allocations: 64.36 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.432, allocations: 0 / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003226/1.432, allocations: 183.2 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.432, allocations: 7.719 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.432, allocations: 0 / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.433, allocations: 3.844 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.433, allocations: 24.92 kB / 1.122 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.433, allocations: 3.938 kB / 1.122 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.617e-05/1.433, allocations: 26.42 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.433, allocations: 8.156 kB / 1.122 GB, free: 29.75 MB / 0.698 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 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.433, allocations: 135.9 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/1.433, allocations: 15.56 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/1.433, allocations: 19.67 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.433, allocations: 3.938 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.433, allocations: 3.812 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.433, allocations: 4 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/1.434, allocations: 0.5454 MB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.434, allocations: 0 / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/1.434, allocations: 17.42 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/1.434, allocations: 3.875 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/1.434, allocations: 3.688 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.434, allocations: 3.953 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.434, allocations: 0 / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/1.434, allocations: 347.9 kB / 1.123 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/1.434, allocations: 96.7 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/1.434, allocations: 7.922 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/1.434, allocations: 22.22 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/1.434, allocations: 11.31 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/1.435, allocations: 14.94 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.269e-05/1.435, allocations: 110.4 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.435, allocations: 4 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000357/1.435, allocations: 50.02 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/1.436, allocations: 1.053 MB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003346/1.436, allocations: 121.3 kB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.436, allocations: 0 / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/1.437, allocations: 62.33 kB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/1.437, allocations: 21.8 kB / 1.125 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/1.439, allocations: 2.058 MB / 1.127 GB, free: 26.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/1.439, allocations: 0.7171 MB / 1.127 GB, free: 25.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.495e-05/1.439, allocations: 33.05 kB / 1.127 GB, free: 25.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/1.439, allocations: 33.92 kB / 1.127 GB, free: 25.48 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/1.439, allocations: 0 / 1.127 GB, free: 25.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/1.458, allocations: 3.062 MB / 1.13 GB, free: 25.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.459, allocations: 219.9 kB / 1.131 GB, free: 24.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/3.159, allocations: 0 / 1.131 GB, free: 24.92 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_Printer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_Printer.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)