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.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.805/1.805, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001247/0.001247, allocations: 171.5 kB / 393.1 MB, free: 4.094 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.537/1.537, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.0008085/0.0008084, allocations: 97.52 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004314, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.678, allocations: 121.3 MB / 1.041 GB, free: 58.33 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008029/0.6788, allocations: 273.4 kB / 1.041 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.6806, allocations: 1.472 MB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.6806, allocations: 1.375 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.6807, allocations: 4 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.6808, allocations: 5.312 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.6813, allocations: 138.9 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.6814, allocations: 16.77 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.6814, allocations: 1.547 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.6815, allocations: 15.5 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.6816, allocations: 6.141 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.6816, allocations: 1.375 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.682, allocations: 163.4 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.6821, allocations: 14.95 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.6821, allocations: 33.14 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.6824, allocations: 185.8 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.6824, allocations: 1.781 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6825, allocations: 1.094 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6825, allocations: 0 / 1.043 GB, free: 56.75 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.0003357/0.6828, allocations: 365.8 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6829, allocations: 13.81 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.6829, allocations: 78.09 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.683, allocations: 245 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.6831, allocations: 150.9 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.6831, allocations: 160.2 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.898e-05/0.6832, allocations: 107 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6832, allocations: 75.28 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.6832, allocations: 151.2 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.6833, allocations: 152.2 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.6833, allocations: 156 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.6835, allocations: 457.8 kB / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.6836, allocations: 168.5 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.6836, allocations: 80.89 kB / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.6836, allocations: 77 kB / 1.045 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.6837, allocations: 119.2 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6837, allocations: 2.188 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.925e-05/0.6837, allocations: 29.64 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6838, allocations: 126.7 kB / 1.046 GB, free: 53.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.6839, allocations: 106 kB / 1.046 GB, free: 53.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.6839, allocations: 26.67 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.6839, allocations: 86.69 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.6839, allocations: 0.625 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.6839, allocations: 0 / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.684, allocations: 317.4 kB / 1.046 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.684, allocations: 4.594 kB / 1.046 GB, free: 53.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.6841, allocations: 14.73 kB / 1.046 GB, free: 53.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.6841, allocations: 23 kB / 1.046 GB, free: 53.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.6841, allocations: 0 / 1.046 GB, free: 53.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001238/0.6843, allocations: 59.14 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6843, allocations: 5.312 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6843, allocations: 0 / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6843, allocations: 0 / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.6843, allocations: 5.359 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.6843, allocations: 3.812 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.6844, allocations: 9.938 kB / 1.046 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.6845, allocations: 1.781 kB / 1.046 GB, free: 53.37 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 prepare postOptimizeDAE: time 8.005e-05/0.6845, allocations: 193.2 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.6846, allocations: 108.9 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.6846, allocations: 106.1 kB / 1.047 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/0.6847, allocations: 178.5 kB / 1.047 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.449e-05/0.6847, allocations: 185.8 kB / 1.047 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.6847, allocations: 181.8 kB / 1.047 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.6849, allocations: 407.2 kB / 1.048 GB, free: 51.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.6849, allocations: 105.6 kB / 1.048 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.685, allocations: 112.3 kB / 1.048 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-05/0.685, allocations: 180.2 kB / 1.048 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.685, allocations: 176.3 kB / 1.048 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-05/0.6851, allocations: 182.1 kB / 1.048 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-05/0.6851, allocations: 182.9 kB / 1.049 GB, free: 51.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.551e-05/0.6852, allocations: 312.2 kB / 1.049 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.6853, allocations: 183.9 kB / 1.049 GB, free: 50.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.6853, allocations: 180.2 kB / 1.049 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.6854, allocations: 107.2 kB / 1.049 GB, free: 50.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.6854, allocations: 177.1 kB / 1.049 GB, free: 50.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.6855, allocations: 112.7 kB / 1.05 GB, free: 49.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.6855, allocations: 79.09 kB / 1.05 GB, free: 49.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6855, allocations: 0 / 1.05 GB, free: 49.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003715/0.6859, allocations: 66.09 kB / 1.05 GB, free: 49.81 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.0006978/0.6866, allocations: 415.9 kB / 1.05 GB, free: 49.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.6867, allocations: 13.84 kB / 1.05 GB, free: 49.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6867, allocations: 0 / 1.05 GB, free: 49.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.6867, allocations: 3.891 kB / 1.05 GB, free: 49.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.687, allocations: 0.5277 MB / 1.051 GB, free: 49.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.6873, allocations: 170.1 kB / 1.051 GB, free: 48.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.6874, allocations: 0.6725 MB / 1.051 GB, free: 48.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.2e-05/0.6875, allocations: 8.188 kB / 1.051 GB, free: 48.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.6875, allocations: 16.53 kB / 1.052 GB, free: 48.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6875, allocations: 0 / 1.052 GB, free: 48.16 MB / 0.698 GB Notification: Performance of Templates: time 0.004556/0.6921, allocations: 1.527 MB / 1.053 GB, free: 47.96 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)