Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Files.Examples.Printer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.909/4.909, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002439/0.002439, allocations: 364.3 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.268/4.268, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 188.9 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008384/0.0008387, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6353, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001941/0.6373, allocations: 1.275 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.6385, allocations: 0.6984 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.6386, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.516e-05/0.6387, allocations: 9.609 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.6388, allocations: 19.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.6392, allocations: 87.72 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.6393, allocations: 125 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.6395, allocations: 30.28 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/0.6396, allocations: 47.83 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.6396, allocations: 47.77 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.6397, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.6398, allocations: 47.89 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.6398, allocations: 20.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.6399, allocations: 45.64 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.6401, allocations: 108.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.007e-06/0.6401, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.082e-06/0.6401, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6401, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 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.0006999/0.6408, allocations: 0.5381 MB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6409, allocations: 12.19 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.6409, allocations: 15.81 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.6411, allocations: 217.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.6412, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.6412, allocations: 12 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.6415, allocations: 132.2 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.931e-06/0.6416, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.6416, allocations: 1.156 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-06/0.6416, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.6419, allocations: 86.91 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.6426, allocations: 476.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.6428, allocations: 92.42 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.643, allocations: 56.41 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.643, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.6434, allocations: 158.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.542e-06/0.6434, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0006632/0.6441, allocations: 216.1 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6441, allocations: 81.11 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.6443, allocations: 154.8 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6443, allocations: 33.69 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.6444, allocations: 116.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.6444, allocations: 21.38 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-06/0.6445, allocations: 7.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.6445, allocations: 322.8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.6447, allocations: 45.59 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.6449, allocations: 122 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.6451, allocations: 61.06 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-06/0.6451, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004611/0.6456, allocations: 182 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6456, allocations: 5.25 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.253e-06/0.6456, allocations: 12.05 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6457, allocations: 7.938 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.6458, allocations: 22.23 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.723e-06/0.6459, allocations: 4 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.646, allocations: 19.98 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.646, allocations: 5.188 kB / 1.466 GB, free: 278.3 MB / 0.8542 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.0001228/0.6462, allocations: 135.5 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.6462, allocations: 20.95 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.6463, allocations: 17.41 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6463, allocations: 5.609 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.606e-06/0.6463, allocations: 4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-06/0.6463, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.6472, allocations: 0.5456 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.486e-06/0.6472, allocations: 3.953 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6473, allocations: 18.08 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.434e-06/0.6473, allocations: 4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6474, allocations: 4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.6474, allocations: 3.984 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.43e-06/0.6474, allocations: 1.344 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.6479, allocations: 334.2 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.6479, allocations: 92.88 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.6479, allocations: 6.156 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.6482, allocations: 19.97 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.6483, allocations: 12.48 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.6483, allocations: 9.469 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.94e-05/0.6484, allocations: 121.8 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-07/0.6484, allocations: 96 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004649/0.6489, allocations: 44.98 kB / 1.468 GB, free: 276.8 MB / 0.8542 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.0004434/0.6494, allocations: 196.9 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.6498, allocations: 123.9 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6498, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.6501, allocations: 63.84 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.6505, allocations: 21.3 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.6511, allocations: 270.7 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.6513, allocations: 0.7249 MB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.6514, allocations: 26.59 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.6514, allocations: 19.38 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.412e-06/0.6514, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005576/0.657, allocations: 1.573 MB / 1.471 GB, free: 274 MB / 0.8542 GB