Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005905/0.005911, allocations: 235.4 kB / 15.8 MB, free: 6.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001934/0.001935, allocations: 184 kB / 16.69 MB, free: 5.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.969/3.969, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.309/4.309, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004765, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003885/0.2367, allocations: 2.657 MB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.2398, allocations: 1.585 MB / 1.109 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.24, allocations: 11.34 kB / 1.109 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.2402, allocations: 35.7 kB / 1.109 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.2407, allocations: 163.2 kB / 1.109 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.2413, allocations: 142.2 kB / 1.109 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000435/0.2417, allocations: 370.9 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009979/0.2427, allocations: 0.4951 MB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2429, allocations: 103.6 kB / 1.11 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.2433, allocations: 146.3 kB / 1.11 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.2433, allocations: 12 kB / 1.11 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.2438, allocations: 147.6 kB / 1.11 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2439, allocations: 83.78 kB / 1.11 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.2439, allocations: 61.64 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.2444, allocations: 319.5 kB / 1.111 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2444, allocations: 7.406 kB / 1.111 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2444, allocations: 0 / 1.111 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2444, allocations: 0 / 1.111 GB, free: 35.79 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009922/0.2454, allocations: 0.5027 MB / 1.111 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2455, allocations: 12.02 kB / 1.111 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.2466, allocations: 103.1 kB / 1.111 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.2469, allocations: 246.7 kB / 1.112 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.247, allocations: 20.39 kB / 1.112 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.2471, allocations: 23.94 kB / 1.112 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.2479, allocations: 373 kB / 1.112 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2479, allocations: 1.375 kB / 1.112 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.248, allocations: 12 kB / 1.112 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.2481, allocations: 24.42 kB / 1.112 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.2488, allocations: 308.9 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.251, allocations: 1.53 MB / 1.114 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.2516, allocations: 237.9 kB / 1.114 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.2519, allocations: 113.1 kB / 1.114 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.2521, allocations: 93 kB / 1.114 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2521, allocations: 37.19 kB / 1.114 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 4.038e-06/0.2521, allocations: 3.469 kB / 1.114 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.00165/0.2538, allocations: 0.7936 MB / 1.115 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.2538, allocations: 55.41 kB / 1.115 GB, free: 31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.254, allocations: 188.8 kB / 1.115 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2541, allocations: 29.7 kB / 1.115 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.2542, allocations: 163.8 kB / 1.115 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.2542, allocations: 73.42 kB / 1.116 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.2543, allocations: 8 kB / 1.116 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.2543, allocations: 326.8 kB / 1.116 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.2546, allocations: 111.9 kB / 1.116 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.2549, allocations: 167.2 kB / 1.116 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.2552, allocations: 143.8 kB / 1.116 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2552, allocations: 3.406 kB / 1.116 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001091/0.2563, allocations: 409.9 kB / 1.117 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2564, allocations: 8 kB / 1.117 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2564, allocations: 4 kB / 1.117 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.257, allocations: 99.73 kB / 1.117 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.2574, allocations: 55.89 kB / 1.117 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.2597, allocations: 1.726 MB / 1.119 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.2601, allocations: 19.97 kB / 1.119 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2601, allocations: 14.69 kB / 1.119 GB, free: 27.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.2604, allocations: 157.7 kB / 1.119 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.2604, allocations: 19.8 kB / 1.119 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.2611, allocations: 298.8 kB / 1.119 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2611, allocations: 0 / 1.119 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2611, allocations: 4 kB / 1.119 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2613, allocations: 114.4 kB / 1.119 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.2613, allocations: 8 kB / 1.119 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2616, allocations: 7.984 kB / 1.119 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.2617, allocations: 23.47 kB / 1.119 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001031/0.2627, allocations: 384.7 kB / 1.12 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008548/0.2636, allocations: 0.5882 MB / 1.12 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000225/0.2638, allocations: 130.5 kB / 1.12 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001479/0.264, allocations: 144.6 kB / 1.12 GB, free: 25.42 MB / 0.6042 GB Notification: Performance of Backend: time 8.21e-07/0.264, allocations: 0 / 1.12 GB, free: 25.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.2654, allocations: 465.7 kB / 1.121 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001369/0.2668, allocations: 1.115 MB / 1.122 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.01146/0.2783, allocations: 4.152 MB / 1.126 GB, free: 19.97 MB / 0.6042 GB