Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.742/1.742, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 172.6 kB / 393.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008072/0.0008073, allocations: 98.31 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 11.53 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7486, allocations: 121.3 MB / 1.041 GB, free: 58.49 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0009969/0.7497, allocations: 282.2 kB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.7517, allocations: 1.635 MB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.7518, allocations: 0 / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.7519, allocations: 5.641 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.752, allocations: 5.344 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.7527, allocations: 240.3 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.7529, allocations: 80.64 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.7529, allocations: 7.484 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.753, allocations: 45.67 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.7531, allocations: 43.77 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.7531, allocations: 2.688 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.7537, allocations: 173 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.7537, allocations: 8.719 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.7538, allocations: 58.66 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.7543, allocations: 258.1 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7543, allocations: 0 / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7543, allocations: 0 / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7543, allocations: 0.7812 kB / 1.044 GB, free: 56.68 MB / 0.698 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.0004416/0.7548, allocations: 419.1 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7549, allocations: 11.78 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.7549, allocations: 87.09 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.7551, allocations: 250 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.7552, allocations: 155.8 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.7552, allocations: 159.6 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.845e-05/0.7553, allocations: 113.5 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.7553, allocations: 79.22 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.7554, allocations: 155.2 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.7554, allocations: 150.6 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.7555, allocations: 155.7 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.7558, allocations: 465.8 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.7559, allocations: 169.6 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.7559, allocations: 85.02 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7559, allocations: 79.62 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.756, allocations: 111.8 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.756, allocations: 2.953 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001065/0.7561, allocations: 38.03 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.7561, allocations: 128.9 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.7563, allocations: 143.9 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7563, allocations: 31.83 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.7564, allocations: 87.23 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.7564, allocations: 0 / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.7564, allocations: 3.969 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.7565, allocations: 320.2 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.7566, allocations: 62.62 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.7567, allocations: 60.92 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.7569, allocations: 97.27 kB / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7569, allocations: 0 / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000382/0.7573, allocations: 234.4 kB / 1.047 GB, free: 53.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.7573, allocations: 48.06 kB / 1.047 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7573, allocations: 1.031 kB / 1.047 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7574, allocations: 0.7188 kB / 1.047 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.7574, allocations: 5.938 kB / 1.047 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7574, allocations: 0 / 1.047 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.7577, allocations: 35.09 kB / 1.047 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.7577, allocations: 13.78 kB / 1.047 GB, free: 53.08 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/0.7578, allocations: 202.2 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.7579, allocations: 108.7 kB / 1.048 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.7579, allocations: 110.6 kB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/0.758, allocations: 181.7 kB / 1.048 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-05/0.758, allocations: 177.1 kB / 1.048 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/0.7581, allocations: 187.9 kB / 1.048 GB, free: 52.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.7582, allocations: 411.4 kB / 1.049 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/0.7582, allocations: 103.8 kB / 1.049 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.7582, allocations: 109.8 kB / 1.049 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.974e-05/0.7583, allocations: 177.3 kB / 1.049 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.7583, allocations: 189.2 kB / 1.049 GB, free: 51.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.808e-05/0.7584, allocations: 178.5 kB / 1.049 GB, free: 50.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.051e-05/0.7584, allocations: 183.5 kB / 1.05 GB, free: 50.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.875e-05/0.7585, allocations: 306.5 kB / 1.05 GB, free: 50.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.7585, allocations: 208.3 kB / 1.05 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.7586, allocations: 180.3 kB / 1.05 GB, free: 50 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.7586, allocations: 101 kB / 1.05 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.7587, allocations: 184.2 kB / 1.051 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.7587, allocations: 101 kB / 1.051 GB, free: 49.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.7588, allocations: 107.5 kB / 1.051 GB, free: 49.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7588, allocations: 0 / 1.051 GB, free: 49.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003533/0.7591, allocations: 71.69 kB / 1.051 GB, free: 49.5 MB / 0.698 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.009238/0.7684, allocations: 439.6 kB / 1.051 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.7689, allocations: 214.8 kB / 1.051 GB, free: 49.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7689, allocations: 1.906 kB / 1.051 GB, free: 49.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-06/0.7689, allocations: 4.844 kB / 1.051 GB, free: 49.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.7693, allocations: 0.5277 MB / 1.052 GB, free: 48.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.7697, allocations: 236.7 kB / 1.052 GB, free: 48.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.7699, allocations: 0.6828 MB / 1.053 GB, free: 47.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.726e-05/0.77, allocations: 58.28 kB / 1.053 GB, free: 47.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.77, allocations: 9.219 kB / 1.053 GB, free: 47.68 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.77, allocations: 0 / 1.053 GB, free: 47.68 MB / 0.698 GB Notification: Performance of Templates: time 0.006254/0.7763, allocations: 2.602 MB / 1.055 GB, free: 47.41 MB / 0.698 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)