Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.14/2.14, allocations: 251 MB / 265.9 MB, free: 11.7 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.001496/0.001496, allocations: 182.2 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.469/2.469, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.00115/0.001149, allocations: 100.1 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004523, allocations: 8.844 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.4526, allocations: 133.3 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.453, allocations: 83.95 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.4677, allocations: 2.992 MB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4677, allocations: 0 / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.4678, allocations: 8 kB / 1.032 GB, free: 8.938 MB / 0.6823 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.001099/0.4689, allocations: 0.5426 MB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4689, allocations: 8.031 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/0.469, allocations: 42.55 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.4691, allocations: 11.91 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.4695, allocations: 226.7 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.4695, allocations: 11.98 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4695, allocations: 4 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.47, allocations: 135.3 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4701, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4701, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4701, allocations: 4 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.4706, allocations: 83.94 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.4716, allocations: 472.7 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.472, allocations: 89.17 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.4721, allocations: 7.938 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.4726, allocations: 157.1 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 2.906e-06/0.4726, allocations: 4 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.001015/0.4736, allocations: 221.1 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4737, allocations: 81.11 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4739, allocations: 146 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.474, allocations: 33.69 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.4741, allocations: 112.2 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.4741, allocations: 27.72 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.4741, allocations: 0 / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4743, allocations: 326.8 kB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.4745, allocations: 39.97 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.4749, allocations: 122.3 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.4752, allocations: 59.91 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4752, allocations: 0 / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000662/0.4759, allocations: 181.5 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4759, allocations: 11.98 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.4759, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.476, allocations: 7.953 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.4762, allocations: 27.92 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4762, allocations: 4 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.4764, allocations: 11.98 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.4764, allocations: 16.03 kB / 1.035 GB, free: 5.441 MB / 0.6823 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.0001872/0.4766, allocations: 129.8 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.4767, allocations: 15.89 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.028e-05/0.4768, allocations: 13.41 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4768, allocations: 0 / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4768, allocations: 3.953 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4768, allocations: 0 / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.478, allocations: 0.5522 MB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.478, allocations: 3.938 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.4782, allocations: 19.98 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.4782, allocations: 3.953 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.4783, allocations: 7.984 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4783, allocations: 480 / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4783, allocations: 0 / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.4791, allocations: 344.2 kB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.4792, allocations: 96.91 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.4792, allocations: 3.984 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.4795, allocations: 23.98 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.4796, allocations: 11.98 kB / 1.036 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.4797, allocations: 11.98 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001286/0.4798, allocations: 119.2 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4798, allocations: 0 / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005011/0.4803, allocations: 43.84 kB / 1.036 GB, free: 3.949 MB / 0.6823 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.00151/0.4819, allocations: 1.051 MB / 1.037 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000636/0.4825, allocations: 120.2 kB / 1.038 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4826, allocations: 8.125 kB / 1.038 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.4829, allocations: 55.91 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4833, allocations: 19.98 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.486, allocations: 2.056 MB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.4864, allocations: 0.7276 MB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.4866, allocations: 28.52 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.4867, allocations: 35.48 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/0.4867, allocations: 192 / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.5109, allocations: 3.045 MB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/0.5113, allocations: 213.8 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.114, allocations: 0 / 1.044 GB, free: 12.59 MB / 0.698 GB