Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 197.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.14 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2856, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001919/0.2876, allocations: 0.5403 MB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2893, allocations: 1.189 MB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.2893, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.543e-05/0.2895, allocations: 15.94 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.2895, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.2902, allocations: 278.9 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2904, allocations: 75.83 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.2904, allocations: 12 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.2905, allocations: 43.89 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.2905, allocations: 35.84 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2906, allocations: 4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.291, allocations: 187.7 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.291, allocations: 7.984 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.2911, allocations: 35.8 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.2914, allocations: 243.6 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2914, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2914, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2914, allocations: 4 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004275/0.2919, allocations: 449.3 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2919, allocations: 8.031 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.292, allocations: 84.22 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.2922, allocations: 263.5 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.2922, allocations: 158.9 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.2923, allocations: 162.9 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.848e-05/0.2924, allocations: 105.1 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2924, allocations: 75.28 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.2924, allocations: 150.6 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.2925, allocations: 150.6 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.2925, allocations: 154.5 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.2928, allocations: 473.9 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.2929, allocations: 165.1 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.293, allocations: 84.14 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.293, allocations: 79.22 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.293, allocations: 121.8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.293, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.446e-05/0.2931, allocations: 41.55 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2932, allocations: 130.7 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2933, allocations: 141.7 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.2934, allocations: 29.7 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.2934, allocations: 92.12 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.2935, allocations: 7.938 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.2935, allocations: 37.7 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.2936, allocations: 322.8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2937, allocations: 55.95 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.2939, allocations: 59.94 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.294, allocations: 98.52 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.294, allocations: 0 / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003699/0.2944, allocations: 235.1 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.2944, allocations: 41.69 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2944, allocations: 4.062 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2945, allocations: 0 / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.2945, allocations: 0 / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2945, allocations: 0 / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.2948, allocations: 27.88 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.2948, allocations: 15.98 kB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.2949, allocations: 193.7 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.295, allocations: 128.8 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.2951, allocations: 108.4 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/0.2951, allocations: 180.3 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.594e-05/0.2952, allocations: 188.1 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/0.2952, allocations: 176.3 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.2954, allocations: 421.1 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/0.2955, allocations: 105 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.2955, allocations: 109 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.394e-05/0.2956, allocations: 180.2 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.2957, allocations: 180.3 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-05/0.2957, allocations: 184.2 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.2958, allocations: 184.3 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.2959, allocations: 311.7 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.296, allocations: 186 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.2961, allocations: 184.2 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.2962, allocations: 105 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.2963, allocations: 180.3 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.2963, allocations: 104.9 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001139/0.2964, allocations: 108.8 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2964, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003341/0.2968, allocations: 71.84 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007054/0.2975, allocations: 400 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.2978, allocations: 215.3 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2978, allocations: 64 / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.2978, allocations: 4 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.2981, allocations: 459.6 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.2984, allocations: 234.9 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2986, allocations: 0.6846 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.188e-05/0.2987, allocations: 47.88 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.2987, allocations: 11.44 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.2987, allocations: 0 / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.005082/0.3038, allocations: 2.604 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)