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.399/2.399, allocations: 248.5 MB / 261.1 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 186.7 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.1 MB / 0.571 GB, free: 11.76 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.001236/0.001236, allocations: 98.36 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.494e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1932, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.82/1.013, allocations: 133.2 MB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.014, allocations: 82.02 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01422/1.028, allocations: 2.988 MB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/1.028, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.995e-05/1.028, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.6511 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.0009724/1.029, allocations: 0.5087 MB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.029, allocations: 8.031 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/1.029, allocations: 41.11 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/1.029, allocations: 19.81 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/1.029, allocations: 224.7 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.029, allocations: 7.125 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/1.03, allocations: 10.31 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/1.03, allocations: 112.9 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.03, allocations: 3.938 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/1.03, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.03, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/1.03, allocations: 41.75 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009159/1.031, allocations: 470.8 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/1.031, allocations: 63.53 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/1.031, allocations: 32.39 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/1.031, allocations: 8 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/1.032, allocations: 131.4 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.435e-06/1.032, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003971/1.032, allocations: 109.5 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.032, allocations: 85.05 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/1.032, allocations: 156.7 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/1.032, allocations: 33.02 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/1.032, allocations: 103 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/1.033, allocations: 34.55 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/1.033, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.033, allocations: 330.4 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/1.033, allocations: 18.69 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/1.033, allocations: 105.8 kB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/1.033, allocations: 31.48 kB / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.033, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003256/1.033, allocations: 130.5 kB / 1.026 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.033, allocations: 6.938 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.034, allocations: 8 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.034, allocations: 7.953 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/1.034, allocations: 19.92 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.034, allocations: 4 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/1.034, allocations: 23.8 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/1.034, allocations: 4 kB / 1.027 GB, free: 12.5 MB / 0.6511 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.000141/1.034, allocations: 124.7 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/1.034, allocations: 15.81 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-05/1.034, allocations: 19.95 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.034, allocations: 3.953 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.034, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.034, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008582/1.035, allocations: 0.4961 MB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.035, allocations: 8 kB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/1.035, allocations: 19.94 kB / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/1.035, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.036, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.036, allocations: 7.984 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.036, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/1.036, allocations: 305.5 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/1.036, allocations: 88.92 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/1.036, allocations: 4 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/1.036, allocations: 27.91 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/1.037, allocations: 7.984 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/1.037, allocations: 12 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001274/1.037, allocations: 121.4 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.037, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004889/1.037, allocations: 43.59 kB / 1.028 GB, free: 11.21 MB / 0.6511 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.001206/1.038, allocations: 0.9878 MB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003549/1.039, allocations: 78.05 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.039, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/1.039, allocations: 42.67 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/1.039, allocations: 24.03 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/1.04, allocations: 220 kB / 1.029 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/1.041, allocations: 0.72 MB / 1.03 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001409/1.041, allocations: 32.38 kB / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/1.041, allocations: 34.67 kB / 1.03 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/1.041, allocations: 0 / 1.03 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/1.069, allocations: 3.067 MB / 1.033 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/1.07, allocations: 186.1 kB / 1.033 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.547, allocations: 3.938 kB / 1.033 GB, free: 5.938 MB / 0.6511 GB