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.041/2.041, allocations: 391.2 MB / 407 MB, free: 10.87 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.001176/0.001176, allocations: 191.4 kB / 499.1 MB, free: 4.715 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.409/1.409, allocations: 222.9 MB / 0.7948 GB, free: 15.86 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.001091/0.001091, allocations: 111.6 kB / 0.9329 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 51.23 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2441, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.001786/0.2459, allocations: 0.6107 MB / 1.219 GB, free: 116.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2473, allocations: 1.203 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.2474, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.2475, allocations: 7.984 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.2475, allocations: 7.875 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.2482, allocations: 235.6 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2483, allocations: 75.86 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.2483, allocations: 12 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.2484, allocations: 39.91 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.2484, allocations: 39.89 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2484, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.2488, allocations: 183.7 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.2489, allocations: 7.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.2489, allocations: 31.89 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.2493, allocations: 263.4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2493, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2493, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.2493, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 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.0003559/0.2496, allocations: 451.2 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2497, allocations: 15.92 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.2498, allocations: 88.12 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2499, allocations: 243.7 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2499, allocations: 158.9 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.25, allocations: 162.9 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.444e-05/0.25, allocations: 109 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.25, allocations: 75.28 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.25, allocations: 154.6 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.2501, allocations: 154.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.2501, allocations: 158.5 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.2503, allocations: 465.9 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.216e-05/0.2503, allocations: 169.1 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.2504, allocations: 84.14 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2504, allocations: 83.27 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2504, allocations: 109.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2504, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.991e-05/0.2505, allocations: 37.61 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.2505, allocations: 126.7 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2507, allocations: 141.7 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2507, allocations: 37.69 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.2507, allocations: 88.14 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.2507, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.2508, allocations: 49.62 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.2508, allocations: 314.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.2509, allocations: 67.88 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.251, allocations: 55.95 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.2511, allocations: 98.52 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2511, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002944/0.2514, allocations: 239.2 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.2515, allocations: 42.47 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2515, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2515, allocations: 3.984 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.2515, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2515, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.2518, allocations: 27.86 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.2519, allocations: 15.98 kB / 1.225 GB, free: 110.4 MB / 0.823 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 7.409e-05/0.2519, allocations: 201.8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.252, allocations: 112.8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.252, allocations: 108.5 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.2521, allocations: 180.2 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.2521, allocations: 184.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.2521, allocations: 180.2 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.2522, allocations: 417.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.2523, allocations: 101 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.2523, allocations: 112.9 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.237e-05/0.2523, allocations: 180.3 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2523, allocations: 188.2 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-05/0.2524, allocations: 180.3 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/0.2524, allocations: 176.3 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2526, allocations: 0.8568 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.2526, allocations: 186.1 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.2527, allocations: 184.2 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.2527, allocations: 101 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2528, allocations: 184.2 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2528, allocations: 108.9 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.2528, allocations: 105.8 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2528, allocations: 0 / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004057/0.2532, allocations: 79.83 kB / 1.229 GB, free: 106.1 MB / 0.823 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.001557/0.2548, allocations: 407.7 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.255, allocations: 211.3 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.255, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.2551, allocations: 7.938 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2554, allocations: 0.5185 MB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.2556, allocations: 234.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.2557, allocations: 0.6809 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.106e-05/0.2558, allocations: 51.86 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.2558, allocations: 11.44 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2558, allocations: 0 / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of Templates: time 0.00448/0.2603, allocations: 2.628 MB / 1.233 GB, free: 101.3 MB / 0.823 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)