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.417/2.417, allocations: 248.7 MB / 256.2 MB, free: 7 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.001427/0.001426, allocations: 190.3 kB / 315.4 MB, free: 4.008 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.082/2.082, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 89.8 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.741e-05, allocations: 11.97 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2095, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8695/1.079, allocations: 133.5 MB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.079, allocations: 79.75 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01462/1.094, allocations: 2.971 MB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.094, allocations: 4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.561e-05/1.094, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 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.0009742/1.095, allocations: 0.5134 MB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.095, allocations: 12.03 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/1.095, allocations: 19.8 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/1.096, allocations: 221.3 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.096, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/1.096, allocations: 8 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001608/1.096, allocations: 26.38 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/1.096, allocations: 103.9 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.096, allocations: 4 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/1.096, allocations: 11.98 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.096, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/1.097, allocations: 440.1 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/1.097, allocations: 59.03 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/1.097, allocations: 32.27 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/1.097, allocations: 7.969 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/1.098, allocations: 130.8 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 3.146e-06/1.098, allocations: 0 / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.000377/1.098, allocations: 108.5 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.098, allocations: 77.11 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/1.098, allocations: 153.6 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/1.098, allocations: 30.44 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/1.098, allocations: 111.6 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/1.098, allocations: 23.36 kB / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/1.098, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.099, allocations: 326 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/1.099, allocations: 19.06 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/1.099, allocations: 96.48 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.118e-05/1.099, allocations: 31.36 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.099, allocations: 96 / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002818/1.099, allocations: 120.1 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.099, allocations: 8 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.099, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.099, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/1.1, allocations: 25.98 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.1, allocations: 7.891 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.1, allocations: 19.92 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/1.1, allocations: 4 kB / 1.02 GB, free: 15.95 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.0001294/1.1, allocations: 113 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000278/1.1, allocations: 110.1 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/1.1, allocations: 18.94 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/1.1, allocations: 17.53 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.1, allocations: 3.953 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.1, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/1.1, allocations: 7.984 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/1.101, allocations: 466 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.101, allocations: 4 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.101, allocations: 23.48 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/1.101, allocations: 7.891 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.101, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.101, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.101, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/1.102, allocations: 290.2 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/1.102, allocations: 96.88 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/1.102, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/1.102, allocations: 20.08 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/1.102, allocations: 15.72 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/1.102, allocations: 11.98 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001052/1.103, allocations: 110.1 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.103, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005388/1.103, allocations: 47.5 kB / 1.021 GB, free: 14.61 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.001134/1.104, allocations: 0.9951 MB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000277/1.105, allocations: 70.17 kB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.105, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/1.105, allocations: 31.06 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/1.105, allocations: 19.66 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/1.106, allocations: 201.2 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/1.106, allocations: 0.7275 MB / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.106, allocations: 24.53 kB / 1.023 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/1.107, allocations: 33.11 kB / 1.023 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/1.107, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/1.147, allocations: 2.718 MB / 1.026 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/1.148, allocations: 170.8 kB / 1.026 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.485, allocations: 0 / 1.026 GB, free: 9.633 MB / 0.6511 GB