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.279/2.279, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001034/0.001034, allocations: 184.1 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.3 MB / 0.7915 GB, free: 5.484 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.0009063/0.0009063, allocations: 83.97 kB / 0.9317 GB, free: 5.805 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.743e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3628, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.378, allocations: 153 MB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.378, allocations: 93.94 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02929/1.408, allocations: 10.82 MB / 1.379 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.747e-06/1.408, allocations: 0 / 1.379 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.557e-06/1.408, allocations: 3.938 kB / 1.379 GB, free: 8.094 MB / 0.8386 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.0005178/1.408, allocations: 420.4 kB / 1.379 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.408, allocations: 8.031 kB / 1.379 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/1.408, allocations: 94.52 kB / 1.379 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/1.409, allocations: 249.8 kB / 1.38 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/1.409, allocations: 154.6 kB / 1.38 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/1.409, allocations: 158.6 kB / 1.38 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/1.409, allocations: 108.9 kB / 1.38 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/1.409, allocations: 78.78 kB / 1.38 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/1.409, allocations: 154.5 kB / 1.38 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/1.409, allocations: 154.6 kB / 1.38 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.516e-05/1.409, allocations: 154.5 kB / 1.381 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/1.41, allocations: 476.4 kB / 1.381 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.41, allocations: 173.1 kB / 1.381 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/1.41, allocations: 91.64 kB / 1.381 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/1.41, allocations: 75.28 kB / 1.381 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/1.41, allocations: 105.8 kB / 1.381 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.355e-06/1.41, allocations: 0 / 1.381 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001303/1.41, allocations: 33.7 kB / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/1.41, allocations: 126.7 kB / 1.382 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/1.41, allocations: 140.4 kB / 1.382 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/1.41, allocations: 33.64 kB / 1.382 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/1.411, allocations: 90.27 kB / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/1.411, allocations: 0 / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/1.411, allocations: 0 / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.411, allocations: 322.8 kB / 1.382 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.411, allocations: 62.52 kB / 1.382 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/1.411, allocations: 54.41 kB / 1.382 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/1.411, allocations: 92.86 kB / 1.382 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.411, allocations: 0 / 1.382 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004293/1.412, allocations: 213 kB / 1.383 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/1.412, allocations: 45.19 kB / 1.383 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.412, allocations: 0 / 1.383 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.412, allocations: 0 / 1.383 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/1.412, allocations: 0 / 1.383 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.412, allocations: 0.625 kB / 1.383 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/1.412, allocations: 23.83 kB / 1.383 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/1.412, allocations: 12 kB / 1.383 GB, free: 4.113 MB / 0.8386 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 () * 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.0001619/1.412, allocations: 196.9 kB / 1.383 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/1.412, allocations: 112 kB / 1.383 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/1.412, allocations: 104.6 kB / 1.383 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-05/1.412, allocations: 184.2 kB / 1.383 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.153e-05/1.413, allocations: 180.2 kB / 1.383 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.049e-05/1.413, allocations: 188.1 kB / 1.384 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/1.413, allocations: 416.5 kB / 1.384 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/1.413, allocations: 101 kB / 1.384 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/1.413, allocations: 104.9 kB / 1.384 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.926e-05/1.413, allocations: 184.3 kB / 1.384 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/1.413, allocations: 187.4 kB / 1.384 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.495e-05/1.413, allocations: 180.3 kB / 1.385 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.522e-05/1.413, allocations: 176.3 kB / 1.385 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.414, allocations: 314.9 kB / 1.385 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.414, allocations: 193.3 kB / 1.385 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.414, allocations: 185.2 kB / 1.385 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/1.414, allocations: 108.4 kB / 1.386 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/1.414, allocations: 180.2 kB / 1.386 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/1.414, allocations: 101 kB / 1.386 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.27e-05/1.414, allocations: 111.3 kB / 1.386 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.414, allocations: 0 / 1.386 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000559/1.415, allocations: 91.47 kB / 1.386 GB, free: 416 kB / 0.8386 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 () * 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.000865/1.416, allocations: 426.3 kB / 1.386 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002924/1.416, allocations: 206.2 kB / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.416, allocations: 0 / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/1.416, allocations: 0 / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/1.416, allocations: 0.5293 MB / 1.387 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/1.417, allocations: 182.6 kB / 1.387 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/1.417, allocations: 0.6809 MB / 1.388 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.333e-05/1.417, allocations: 55.86 kB / 1.388 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/1.417, allocations: 7.438 kB / 1.388 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/1.417, allocations: 0 / 1.388 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.00549/1.423, allocations: 2.586 MB / 1.391 GB, free: 11.84 MB / 0.8542 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)