Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.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.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.818/1.818, 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.00173/0.00173, allocations: 171.5 kB / 393.1 MB, free: 4.082 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.389/1.389, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0007639/0.0007636, allocations: 98.27 kB / 0.7935 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003421, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5986/0.5989, allocations: 121.3 MB / 1.041 GB, free: 59.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002008/0.601, allocations: 1.489 MB / 1.042 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.6031, allocations: 1.914 MB / 1.044 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.6032, allocations: 4.594 kB / 1.044 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.6034, allocations: 17.83 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.6035, allocations: 15.02 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.604, allocations: 202.3 kB / 1.044 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.6043, allocations: 220.8 kB / 1.045 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.6044, allocations: 54.94 kB / 1.045 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.6045, allocations: 77.7 kB / 1.045 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.6047, allocations: 64.67 kB / 1.045 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.6047, allocations: 4.406 kB / 1.045 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.605, allocations: 167.4 kB / 1.045 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.6051, allocations: 69.28 kB / 1.045 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.6052, allocations: 113.3 kB / 1.045 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.6056, allocations: 366.1 kB / 1.046 GB, free: 56.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6056, allocations: 0.8438 kB / 1.046 GB, free: 56.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6056, allocations: 0 / 1.046 GB, free: 56.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6056, allocations: 1.406 kB / 1.046 GB, free: 56.19 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008104/0.6064, allocations: 0.534 MB / 1.046 GB, free: 55.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6065, allocations: 9.875 kB / 1.046 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.6065, allocations: 30.48 kB / 1.046 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.6068, allocations: 247.4 kB / 1.046 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.6068, allocations: 20.11 kB / 1.046 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.6069, allocations: 30.78 kB / 1.046 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.6072, allocations: 196.3 kB / 1.047 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.6072, allocations: 0.9688 kB / 1.047 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.6072, allocations: 8.172 kB / 1.047 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6073, allocations: 4.125 kB / 1.047 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.6075, allocations: 130.7 kB / 1.047 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.6086, allocations: 0.5998 MB / 1.047 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.6094, allocations: 301.6 kB / 1.048 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.6096, allocations: 93.45 kB / 1.048 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.6096, allocations: 10.19 kB / 1.048 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.6099, allocations: 175.9 kB / 1.048 GB, free: 54.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.6099, allocations: 0 / 1.048 GB, free: 54.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0006442/0.6106, allocations: 383.7 kB / 1.048 GB, free: 54.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.6106, allocations: 69 kB / 1.048 GB, free: 54.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.6108, allocations: 180.6 kB / 1.048 GB, free: 54.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.6108, allocations: 46.56 kB / 1.048 GB, free: 54.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.6109, allocations: 122.3 kB / 1.049 GB, free: 54.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.6109, allocations: 83.8 kB / 1.049 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.6109, allocations: 4.875 kB / 1.049 GB, free: 54.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.611, allocations: 338.9 kB / 1.049 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.6112, allocations: 115.5 kB / 1.049 GB, free: 53.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.6114, allocations: 251.6 kB / 1.049 GB, free: 53.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.6118, allocations: 365.9 kB / 1.05 GB, free: 53.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.6119, allocations: 0 / 1.05 GB, free: 53.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005452/0.6124, allocations: 424.3 kB / 1.05 GB, free: 53.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6124, allocations: 10.05 kB / 1.05 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6125, allocations: 3.312 kB / 1.05 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.6125, allocations: 7.281 kB / 1.05 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.6127, allocations: 60.92 kB / 1.05 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.6127, allocations: 13.56 kB / 1.05 GB, free: 53.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.6129, allocations: 40.48 kB / 1.05 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.6129, allocations: 22.53 kB / 1.05 GB, free: 53.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001495/0.6131, allocations: 186.6 kB / 1.05 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.6131, allocations: 16.94 kB / 1.05 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.6131, allocations: 22.77 kB / 1.05 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6131, allocations: 2.656 kB / 1.05 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6132, allocations: 5.156 kB / 1.05 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6132, allocations: 1.828 kB / 1.05 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.614, allocations: 0.679 MB / 1.051 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.614, allocations: 0 / 1.051 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.6141, allocations: 23.59 kB / 1.051 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6141, allocations: 1.594 kB / 1.051 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.6141, allocations: 13.44 kB / 1.051 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6142, allocations: 1.062 kB / 1.051 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6142, allocations: 3.094 kB / 1.051 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.6148, allocations: 0.5038 MB / 1.052 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.6149, allocations: 101 kB / 1.052 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.6149, allocations: 17.69 kB / 1.052 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6151, allocations: 25.95 kB / 1.052 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.6152, allocations: 22.88 kB / 1.052 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.6152, allocations: 11.94 kB / 1.052 GB, free: 52.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.6153, allocations: 129.6 kB / 1.052 GB, free: 52.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6153, allocations: 0 / 1.052 GB, free: 52.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004284/0.6157, allocations: 113.1 kB / 1.052 GB, free: 52.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0007314/0.6165, allocations: 373 kB / 1.052 GB, free: 51.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.617, allocations: 275.5 kB / 1.053 GB, free: 51.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.617, allocations: 0.9375 kB / 1.053 GB, free: 51.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.6172, allocations: 109.4 kB / 1.053 GB, free: 51.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.6175, allocations: 24.81 kB / 1.053 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.6183, allocations: 0.5564 MB / 1.053 GB, free: 51.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.6185, allocations: 0.7478 MB / 1.054 GB, free: 50.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.6187, allocations: 55.36 kB / 1.054 GB, free: 50.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.6187, allocations: 20.05 kB / 1.054 GB, free: 50.77 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.6187, allocations: 3.938 kB / 1.054 GB, free: 50.77 MB / 0.698 GB Notification: Performance of Templates: time 0.006242/0.625, allocations: 3.101 MB / 1.057 GB, free: 50.5 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)