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.728/1.728, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.000934/0.0009339, allocations: 184.9 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 97.97 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.269e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8233, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/1.043, allocations: 139 MB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.043, allocations: 84.69 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009235/1.052, allocations: 2.975 MB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/1.052, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.052, allocations: 5.188 kB / 1.103 GB, free: 13.71 MB / 0.7136 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.0008235/1.053, allocations: 0.5105 MB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.053, allocations: 9.969 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/1.053, allocations: 20.84 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/1.054, allocations: 223.2 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.054, allocations: 1.594 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/1.054, allocations: 11.98 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001153/1.054, allocations: 28 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/1.054, allocations: 100.4 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.054, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.054, allocations: 3.984 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.054, allocations: 6.812 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/1.055, allocations: 449.2 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/1.055, allocations: 65.16 kB / 1.105 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/1.055, allocations: 25.84 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/1.055, allocations: 7.984 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/1.055, allocations: 117.2 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/1.055, allocations: 3.938 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.000294/1.055, allocations: 109.4 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/1.055, allocations: 81.05 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.056, allocations: 138.3 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/1.056, allocations: 33.69 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/1.056, allocations: 112.3 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/1.056, allocations: 23.7 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-06/1.056, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.056, allocations: 326.8 kB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/1.056, allocations: 16 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/1.056, allocations: 103.5 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/1.056, allocations: 35.92 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.056, allocations: 0 / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002049/1.056, allocations: 113.4 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.056, allocations: 8 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.056, allocations: 288 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.056, allocations: 8 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/1.057, allocations: 19.92 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.057, allocations: 6.062 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/1.057, allocations: 19.92 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/1.057, allocations: 8 kB / 1.106 GB, free: 10.73 MB / 0.7136 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 () * 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.0001043/1.057, allocations: 120.9 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001773/1.057, allocations: 113.4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/1.057, allocations: 11.91 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/1.057, allocations: 13.84 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.057, allocations: 3.984 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.057, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.057, allocations: 3.953 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/1.058, allocations: 475.7 kB / 1.107 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.058, allocations: 6.938 kB / 1.107 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/1.058, allocations: 15.98 kB / 1.107 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.058, allocations: 4 kB / 1.107 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.058, allocations: 4 kB / 1.107 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.058, allocations: 7.891 kB / 1.107 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.058, allocations: 4 kB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/1.058, allocations: 288.4 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/1.058, allocations: 88.92 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/1.058, allocations: 3.953 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/1.058, allocations: 27.97 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/1.058, allocations: 7.984 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/1.059, allocations: 12 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.594e-05/1.059, allocations: 117.7 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/1.059, allocations: 0 / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003762/1.059, allocations: 43.97 kB / 1.107 GB, free: 9.289 MB / 0.7136 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 () * 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.000997/1.06, allocations: 0.9904 MB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001731/1.06, allocations: 67.88 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.06, allocations: 0 / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.833e-05/1.06, allocations: 35.98 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/1.061, allocations: 14.88 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/1.061, allocations: 226 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/1.062, allocations: 0.7166 MB / 1.109 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.746e-05/1.062, allocations: 20.53 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/1.062, allocations: 36.84 kB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.062, allocations: 4 kB / 1.109 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/1.087, allocations: 2.714 MB / 1.112 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/1.088, allocations: 171.9 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.914, allocations: 0 / 1.112 GB, free: 4.309 MB / 0.7136 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)