Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.679/1.679, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001474/0.001474, allocations: 179.5 kB / 393.1 MB, free: 4.07 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.364/1.364, allocations: 225.7 MB / 0.6743 GB, free: 12.57 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.0007738/0.0007736, allocations: 96.91 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 8.562 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5202, allocations: 121.3 MB / 1.041 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002481/0.5228, allocations: 2.194 MB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.5241, allocations: 0.8421 MB / 1.044 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.5244, allocations: 11.34 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.5245, allocations: 47.2 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.5247, allocations: 46.47 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.5251, allocations: 212.1 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.5255, allocations: 405.3 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.5258, allocations: 213.8 kB / 1.045 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.5259, allocations: 91.14 kB / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.526, allocations: 109 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.526, allocations: 7.875 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.526, allocations: 6.531 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.5261, allocations: 37.17 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.5262, allocations: 163.6 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.5266, allocations: 0.5523 MB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5266, allocations: 0 / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5266, allocations: 1.406 kB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.5266, allocations: 0 / 1.046 GB, free: 55.6 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007405/0.5274, allocations: 0.5872 MB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5274, allocations: 7.062 kB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.5275, allocations: 43.94 kB / 1.046 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.5279, allocations: 376.1 kB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.5279, allocations: 26.72 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.5279, allocations: 27 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.5285, allocations: 332.4 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5285, allocations: 0 / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.5286, allocations: 9.969 kB / 1.047 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5286, allocations: 7.172 kB / 1.047 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.529, allocations: 248.9 kB / 1.047 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.5303, allocations: 1.185 MB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.5308, allocations: 253.3 kB / 1.049 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.531, allocations: 101.1 kB / 1.049 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.5311, allocations: 2.969 kB / 1.049 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.5311, allocations: 35.88 kB / 1.049 GB, free: 53.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.5311, allocations: 4 kB / 1.049 GB, free: 53.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0006147/0.5317, allocations: 312.7 kB / 1.049 GB, free: 53.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.5318, allocations: 85.05 kB / 1.049 GB, free: 53.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.5321, allocations: 330.5 kB / 1.049 GB, free: 53.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.5321, allocations: 29.7 kB / 1.05 GB, free: 52.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5322, allocations: 198.1 kB / 1.05 GB, free: 52.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.5322, allocations: 53.39 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.5323, allocations: 4 kB / 1.05 GB, free: 52.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.5323, allocations: 340.6 kB / 1.05 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.5325, allocations: 87.92 kB / 1.05 GB, free: 52.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.5327, allocations: 123.9 kB / 1.05 GB, free: 52.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.533, allocations: 203.5 kB / 1.05 GB, free: 52.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.533, allocations: 0 / 1.05 GB, free: 52.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004131/0.5335, allocations: 265.6 kB / 1.051 GB, free: 52.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.5335, allocations: 108.9 kB / 1.051 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5335, allocations: 1.094 kB / 1.051 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5335, allocations: 6.781 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.5337, allocations: 28.73 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.5337, allocations: 3.969 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.5339, allocations: 25.19 kB / 1.051 GB, free: 51.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.5339, allocations: 7.625 kB / 1.051 GB, free: 51.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-06/0.5339, allocations: 8.781 kB / 1.051 GB, free: 51.97 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002777/0.5342, allocations: 181.5 kB / 1.051 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.5342, allocations: 0 / 1.051 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-06/0.5342, allocations: 2.344 kB / 1.051 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.5343, allocations: 27.23 kB / 1.051 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.5343, allocations: 3.031 kB / 1.051 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.5344, allocations: 18.16 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5345, allocations: 9.016 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001414/0.5346, allocations: 249.9 kB / 1.051 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.5347, allocations: 31.03 kB / 1.051 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.5347, allocations: 38.81 kB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5347, allocations: 2.781 kB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5347, allocations: 0 / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5348, allocations: 3.938 kB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.5351, allocations: 409.6 kB / 1.052 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5351, allocations: 0 / 1.052 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.5353, allocations: 38.09 kB / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5353, allocations: 0 / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.5353, allocations: 1.594 kB / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5353, allocations: 1.312 kB / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5353, allocations: 0 / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.536, allocations: 456.2 kB / 1.052 GB, free: 51.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.5361, allocations: 141.2 kB / 1.052 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.5361, allocations: 6.438 kB / 1.052 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.5363, allocations: 20.84 kB / 1.052 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.5363, allocations: 8.234 kB / 1.053 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5364, allocations: 1.844 kB / 1.053 GB, free: 50.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002027/0.5366, allocations: 233.1 kB / 1.053 GB, free: 50.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5366, allocations: 0 / 1.053 GB, free: 50.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003595/0.5369, allocations: 91.47 kB / 1.053 GB, free: 50.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001054/0.537, allocations: 112.6 kB / 1.053 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.5376, allocations: 300.9 kB / 1.053 GB, free: 50.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5376, allocations: 0 / 1.053 GB, free: 50.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.5378, allocations: 108.6 kB / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.5384, allocations: 72.89 kB / 1.053 GB, free: 50.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.5393, allocations: 0.685 MB / 1.054 GB, free: 49.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.5395, allocations: 0.7748 MB / 1.055 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.5396, allocations: 28.58 kB / 1.055 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.5397, allocations: 21.34 kB / 1.055 GB, free: 49.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5397, allocations: 4 kB / 1.055 GB, free: 49.26 MB / 0.698 GB Notification: Performance of Templates: time 0.005833/0.5455, allocations: 2.943 MB / 1.058 GB, free: 49.08 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)