Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.508/2.508, allocations: 393.5 MB / 408.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 190 kB / 0.4902 GB, free: 2.285 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 223.2 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009984/0.0009986, allocations: 94.03 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004373, allocations: 8.312 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3838, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.601, allocations: 153.1 MB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.6014, allocations: 95.92 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02913/0.6305, allocations: 11 MB / 1.39 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.866e-06/0.6306, allocations: 4 kB / 1.39 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.6306, allocations: 4 kB / 1.39 GB, free: 5.293 MB / 0.8855 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.0006019/0.6312, allocations: 432.8 kB / 1.39 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6313, allocations: 12.03 kB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.6314, allocations: 83.23 kB / 1.39 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.6316, allocations: 262.2 kB / 1.39 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/0.6317, allocations: 158.6 kB / 1.39 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.6318, allocations: 158.6 kB / 1.391 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.392e-05/0.6319, allocations: 108.9 kB / 1.391 GB, free: 4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.6319, allocations: 75.28 kB / 1.391 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.632, allocations: 154.5 kB / 1.391 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.632, allocations: 150.6 kB / 1.391 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.6321, allocations: 158.6 kB / 1.391 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.6325, allocations: 465.9 kB / 1.392 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.6326, allocations: 177.1 kB / 1.392 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.6327, allocations: 75.28 kB / 1.392 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.6327, allocations: 113.8 kB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.6327, allocations: 0 / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001088/0.6328, allocations: 29.7 kB / 1.392 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.6329, allocations: 126.7 kB / 1.392 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.6331, allocations: 140.2 kB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.6332, allocations: 29.7 kB / 1.392 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.6332, allocations: 96.03 kB / 1.392 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.6333, allocations: 0 / 1.392 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.6333, allocations: 11.94 kB / 1.392 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6334, allocations: 314.8 kB / 1.393 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.6336, allocations: 67.88 kB / 1.393 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6337, allocations: 59.95 kB / 1.393 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.6338, allocations: 85.66 kB / 1.393 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6338, allocations: 0 / 1.393 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004416/0.6343, allocations: 207.3 kB / 1.393 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.6344, allocations: 45.69 kB / 1.393 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6344, allocations: 4 kB / 1.393 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6344, allocations: 4.062 kB / 1.393 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.6344, allocations: 0 / 1.393 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.6344, allocations: 0 / 1.393 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.6347, allocations: 19.89 kB / 1.393 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.6347, allocations: 11.98 kB / 1.393 GB, free: 1.293 MB / 0.8855 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 (yI1[1],yI2[1],yI2[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.6349, allocations: 209.8 kB / 1.393 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.635, allocations: 112.8 kB / 1.394 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.6351, allocations: 108.5 kB / 1.394 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-05/0.6352, allocations: 180.2 kB / 1.394 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-05/0.6352, allocations: 184.2 kB / 1.394 GB, free: 492 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.697e-05/0.6353, allocations: 184.3 kB / 1.394 GB, free: 300 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.6356, allocations: 417.1 kB / 1.395 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/0.6356, allocations: 101 kB / 1.395 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.6357, allocations: 108.9 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-05/0.6358, allocations: 184.2 kB / 1.395 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.6359, allocations: 180.3 kB / 1.395 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.947e-05/0.6359, allocations: 184.2 kB / 1.395 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.96e-05/0.636, allocations: 180.3 kB / 1.395 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.6362, allocations: 319.6 kB / 1.396 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.6363, allocations: 190.1 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.6364, allocations: 184.2 kB / 1.396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.6365, allocations: 105.2 kB / 1.396 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.6366, allocations: 184.2 kB / 1.396 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.6366, allocations: 105 kB / 1.396 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.429e-05/0.6367, allocations: 103.3 kB / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6367, allocations: 0 / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005513/0.6373, allocations: 91.81 kB / 1.397 GB, free: 13.54 MB / 0.9011 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 (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.0009139/0.6382, allocations: 419.6 kB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.6385, allocations: 219.2 kB / 1.397 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6385, allocations: 0 / 1.397 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/0.6385, allocations: 0 / 1.397 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.6388, allocations: 0.5264 MB / 1.398 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.6391, allocations: 234.2 kB / 1.398 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6394, allocations: 0.677 MB / 1.399 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.6395, allocations: 63.8 kB / 1.399 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.6396, allocations: 7.438 kB / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.6396, allocations: 0 / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of Templates: time 0.0064/0.646, allocations: 2.561 MB / 1.401 GB, free: 8.852 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)