Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 297.4 MB / 312.6 MB, free: 2.906 MB / 234.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.0009345/0.0009346, allocations: 189.4 kB / 382.3 MB, free: 14.8 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.264/1.264, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007642/0.0007641, allocations: 90.81 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 13.2 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5203/0.5206, allocations: 119.2 MB / 1.022 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.001733/0.5224, allocations: 1.337 MB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.5231, allocations: 0.5072 MB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.5232, allocations: 6.438 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.5234, allocations: 23.25 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.5236, allocations: 56.53 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.5237, allocations: 57.03 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.5239, allocations: 123.2 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.524, allocations: 47.36 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.5241, allocations: 49.94 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.5242, allocations: 53.36 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.5243, allocations: 2.75 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.646e-05/0.5243, allocations: 12.45 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.5244, allocations: 38.92 kB / 1.025 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.5245, allocations: 86.22 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.5246, allocations: 131.9 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5247, allocations: 1.156 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5247, allocations: 0 / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.5247, allocations: 0 / 1.025 GB, free: 56.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004653/0.5251, allocations: 454.1 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5252, allocations: 10.25 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.5252, allocations: 18.41 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.5254, allocations: 246.4 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5255, allocations: 3.406 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.5255, allocations: 5.625 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.5257, allocations: 119.7 kB / 1.026 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5258, allocations: 1.094 kB / 1.026 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.5258, allocations: 3.562 kB / 1.026 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5258, allocations: 0 / 1.026 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.526, allocations: 78.94 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.5265, allocations: 388.1 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.5266, allocations: 52.44 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.5267, allocations: 36.69 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.5268, allocations: 3.281 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.527, allocations: 101 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.527, allocations: 0 / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003934/0.5274, allocations: 151.7 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.5274, allocations: 78.64 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.5277, allocations: 259.6 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5277, allocations: 27.92 kB / 1.027 GB, free: 55.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.5277, allocations: 126.2 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.5278, allocations: 9.859 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.5278, allocations: 1.375 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.5278, allocations: 325.2 kB / 1.027 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.5279, allocations: 34.28 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.528, allocations: 62.05 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.5282, allocations: 88.64 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5283, allocations: 0 / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002403/0.5285, allocations: 117.9 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5285, allocations: 8.938 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5285, allocations: 7.531 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5285, allocations: 4.594 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.5286, allocations: 15.22 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5287, allocations: 2.125 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.5287, allocations: 23.27 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.5288, allocations: 0 / 1.027 GB, free: 54.57 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.031e-05/0.5288, allocations: 137.4 kB / 1.028 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.5289, allocations: 15.22 kB / 1.028 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.5289, allocations: 18.39 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5289, allocations: 5.156 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5289, allocations: 3.938 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.5289, allocations: 0 / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.529, allocations: 217.5 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.529, allocations: 4 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.5291, allocations: 14.12 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5291, allocations: 0 / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5291, allocations: 7.422 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5292, allocations: 9.031 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5292, allocations: 0 / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5294, allocations: 138.5 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.5294, allocations: 93.45 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.5295, allocations: 4 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.5296, allocations: 21.66 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5296, allocations: 5.703 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.5296, allocations: 5.719 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000131/0.5298, allocations: 190.5 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5298, allocations: 3.938 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001894/0.53, allocations: 16.72 kB / 1.028 GB, free: 53.89 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002049/0.5302, allocations: 131 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.5304, allocations: 72 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5304, allocations: 0 / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.5306, allocations: 37.48 kB / 1.029 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.5308, allocations: 41.06 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.5312, allocations: 336.6 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5314, allocations: 0.7222 MB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.139e-05/0.5314, allocations: 20.25 kB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.5315, allocations: 18.06 kB / 1.03 GB, free: 52.81 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.5315, allocations: 0 / 1.03 GB, free: 52.81 MB / 0.698 GB Notification: Performance of Templates: time 0.003876/0.5354, allocations: 1.592 MB / 1.031 GB, free: 52.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)