Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.689/2.689, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.001522/0.001521, allocations: 181.8 kB / 370.8 MB, free: 10.87 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.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.00118/0.001179, allocations: 89.33 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000663/0.0006631, allocations: 16.12 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2504, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.276, allocations: 139.6 MB / 1.115 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/1.276, allocations: 91.94 kB / 1.115 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02028/1.296, allocations: 2.991 MB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.297, allocations: 0 / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.531e-05/1.297, allocations: 0 / 1.118 GB, free: 31.21 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.001356/1.298, allocations: 0.5389 MB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.298, allocations: 19.64 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/1.298, allocations: 38.25 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/1.298, allocations: 18.25 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/1.299, allocations: 216.2 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.299, allocations: 7.406 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/1.299, allocations: 7.688 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/1.299, allocations: 133.2 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.299, allocations: 4 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/1.299, allocations: 10.78 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.299, allocations: 0 / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/1.3, allocations: 80.14 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/1.301, allocations: 478.6 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/1.302, allocations: 89.2 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/1.302, allocations: 3.938 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/1.302, allocations: 145 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 4.459e-06/1.303, allocations: 0 / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.001362/1.304, allocations: 218.9 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.304, allocations: 88.83 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/1.304, allocations: 139 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/1.304, allocations: 33.11 kB / 1.12 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/1.305, allocations: 114.1 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/1.305, allocations: 22.72 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/1.305, allocations: 3.438 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.305, allocations: 327.8 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/1.305, allocations: 45.11 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/1.306, allocations: 124.8 kB / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/1.306, allocations: 56.5 kB / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.306, allocations: 384 / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008958/1.307, allocations: 179.3 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/1.307, allocations: 7.656 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.307, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.307, allocations: 11.84 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/1.307, allocations: 31.22 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/1.307, allocations: 7.797 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/1.308, allocations: 19.77 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/1.308, allocations: 7.812 kB / 1.121 GB, free: 29.03 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.0002534/1.308, allocations: 132.5 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/1.308, allocations: 15.5 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/1.308, allocations: 22.23 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.308, allocations: 0 / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.308, allocations: 3.969 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.308, allocations: 3.953 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/1.31, allocations: 0.5415 MB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.31, allocations: 0 / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.31, allocations: 21.75 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.31, allocations: 0 / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.31, allocations: 7.328 kB / 1.121 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.31, allocations: 7.906 kB / 1.121 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.31, allocations: 0 / 1.121 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009263/1.311, allocations: 341.6 kB / 1.122 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/1.311, allocations: 92.78 kB / 1.122 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/1.311, allocations: 10.36 kB / 1.122 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/1.312, allocations: 22.03 kB / 1.122 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/1.312, allocations: 15.75 kB / 1.122 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/1.312, allocations: 9.391 kB / 1.122 GB, free: 28.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000185/1.312, allocations: 121.4 kB / 1.122 GB, free: 28.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.51e-07/1.312, allocations: 0 / 1.122 GB, free: 28.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007944/1.313, allocations: 48.27 kB / 1.122 GB, free: 28.08 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.002012/1.315, allocations: 1.052 MB / 1.123 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008936/1.316, allocations: 127.6 kB / 1.123 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.316, allocations: 0 / 1.123 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/1.316, allocations: 65.88 kB / 1.123 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/1.317, allocations: 16.95 kB / 1.123 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/1.32, allocations: 2.058 MB / 1.125 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.321, allocations: 0.717 MB / 1.126 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001432/1.321, allocations: 24.81 kB / 1.126 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/1.321, allocations: 36.91 kB / 1.126 GB, free: 24.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.321, allocations: 3.938 kB / 1.126 GB, free: 24.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/1.351, allocations: 3.052 MB / 1.129 GB, free: 24.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/1.352, allocations: 218.5 kB / 1.129 GB, free: 24.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.995, allocations: 0 / 1.129 GB, free: 24.2 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)