Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003732/0.003738, allocations: 358.6 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.403/1.403, allocations: 165.8 MB / 183.1 MB, free: 5.492 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.812/3.812, allocations: 410.8 MB / 0.6001 GB, free: 15.02 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 197.9 kB / 0.6668 GB, free: 6.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005009, allocations: 12 kB / 0.7429 GB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5131, allocations: 67.44 MB / 0.8087 GB, free: 28.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002663/0.5158, allocations: 1.317 MB / 0.81 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.5174, allocations: 0.5401 MB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.5175, allocations: 3.938 kB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.5178, allocations: 23.86 kB / 0.8106 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.5181, allocations: 61.94 kB / 0.8106 GB, free: 26.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.5184, allocations: 51.92 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.5187, allocations: 119.5 kB / 0.8108 GB, free: 26.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.5189, allocations: 41.44 kB / 0.8108 GB, free: 26.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.519, allocations: 43.8 kB / 0.8109 GB, free: 26.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.5192, allocations: 47.75 kB / 0.8109 GB, free: 26.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.5192, allocations: 4 kB / 0.8109 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.879e-05/0.5194, allocations: 15.94 kB / 0.8109 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.5195, allocations: 35.89 kB / 0.811 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.5195, allocations: 45.64 kB / 0.811 GB, free: 26.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.5198, allocations: 93.88 kB / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5198, allocations: 3.938 kB / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5198, allocations: 0 / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.5198, allocations: 0 / 0.8111 GB, free: 26.29 MB / 378.7 MB 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.0008619/0.5207, allocations: 450.6 kB / 0.8115 GB, free: 25.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.5208, allocations: 8.031 kB / 0.8116 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.5209, allocations: 23.72 kB / 0.8116 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.5212, allocations: 231.5 kB / 0.8118 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5213, allocations: 4 kB / 0.8118 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.5213, allocations: 8 kB / 0.8118 GB, free: 25.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.5219, allocations: 125.5 kB / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5219, allocations: 0 / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.5219, allocations: 4 kB / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.522, allocations: 3.938 kB / 0.8119 GB, free: 25.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.5225, allocations: 83.94 kB / 0.812 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.5235, allocations: 392.4 kB / 0.8124 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.5238, allocations: 46.55 kB / 0.8124 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.5241, allocations: 48.83 kB / 0.8125 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.5242, allocations: 3.984 kB / 0.8125 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.5246, allocations: 105.1 kB / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.657e-06/0.5247, allocations: 0 / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0009119/0.5256, allocations: 137.4 kB / 0.8127 GB, free: 24.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.5257, allocations: 85.05 kB / 0.8128 GB, free: 24.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.5261, allocations: 253 kB / 0.813 GB, free: 24.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.5261, allocations: 25.7 kB / 0.8131 GB, free: 24.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.5262, allocations: 124 kB / 0.8132 GB, free: 23.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.5263, allocations: 7.906 kB / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.5263, allocations: 0 / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.5264, allocations: 338.8 kB / 0.8135 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.5267, allocations: 31.97 kB / 0.8135 GB, free: 23.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.527, allocations: 59.41 kB / 0.8136 GB, free: 23.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.5273, allocations: 27.98 kB / 0.8136 GB, free: 23.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5273, allocations: 0 / 0.8136 GB, free: 23.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006183/0.5279, allocations: 121.4 kB / 0.8137 GB, free: 23.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.528, allocations: 4 kB / 0.8137 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.528, allocations: 4.094 kB / 0.8138 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.528, allocations: 0 / 0.8138 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.5282, allocations: 15.98 kB / 0.8138 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5283, allocations: 7.922 kB / 0.8138 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.5285, allocations: 15.94 kB / 0.8138 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5285, allocations: 4 kB / 0.8138 GB, free: 23.3 MB / 378.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.5287, allocations: 133.8 kB / 0.8139 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.5288, allocations: 23.7 kB / 0.8139 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.5288, allocations: 17.25 kB / 0.814 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5289, allocations: 0 / 0.814 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5289, allocations: 0 / 0.814 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.529, allocations: 96.91 kB / 0.8141 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.529, allocations: 3.938 kB / 0.8141 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5293, allocations: 19.94 kB / 0.8141 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.5294, allocations: 7.984 kB / 0.8141 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007853/0.5302, allocations: 184.9 kB / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007562/0.5309, allocations: 286.5 kB / 0.8145 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002813/0.5312, allocations: 35.91 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.5316, allocations: 192.5 kB / 0.8148 GB, free: 22.27 MB / 378.7 MB Notification: Performance of Backend: time 1.132e-06/0.5316, allocations: 0 / 0.8148 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.5328, allocations: 158.2 kB / 0.8149 GB, free: 22.11 MB / 378.7 MB Notification: Performance of SimCode: time 0.0009899/0.5338, allocations: 0.7738 MB / 0.8157 GB, free: 21.3 MB / 378.7 MB Notification: Performance of Templates: time 0.008234/0.5421, allocations: 1.691 MB / 0.8173 GB, free: 19.62 MB / 378.7 MB