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.0109/0.0109, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001135/0.001135, allocations: 179.9 kB / 16.06 MB, free: 5.828 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.649/3.649, allocations: 389.1 MB / 405.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.316/4.316, allocations: 472.3 MB / 0.9018 GB, free: 120 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000797/0.0007973, allocations: 8 kB / 1.008 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.603, allocations: 98.71 MB / 1.104 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003666/0.6067, allocations: 2.653 MB / 1.107 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.6097, allocations: 1.59 MB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.6099, allocations: 7 kB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.6101, allocations: 31.3 kB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000597/0.6107, allocations: 159.5 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.6113, allocations: 141 kB / 1.109 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.6118, allocations: 373.1 kB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.613, allocations: 0.4894 MB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.6132, allocations: 111.2 kB / 1.109 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.6136, allocations: 142.8 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.6137, allocations: 10.59 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.6142, allocations: 140.8 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.6143, allocations: 88.11 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.6144, allocations: 69.14 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.615, allocations: 309.7 kB / 1.11 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.365e-06/0.615, allocations: 1.094 kB / 1.11 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.857e-06/0.615, allocations: 0.7969 kB / 1.11 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.615, allocations: 0 / 1.11 GB, free: 202.2 MB / 0.7136 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.0008704/0.6159, allocations: 0.512 MB / 1.111 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6159, allocations: 9.703 kB / 1.111 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/0.6169, allocations: 103.5 kB / 1.111 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.6173, allocations: 251.9 kB / 1.111 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.6174, allocations: 15.58 kB / 1.111 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.6175, allocations: 30.56 kB / 1.111 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.6183, allocations: 377.6 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.6183, allocations: 1.094 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.6184, allocations: 6.062 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.6185, allocations: 31.27 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.6192, allocations: 303.3 kB / 1.112 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6214, allocations: 1.536 MB / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.6219, allocations: 230.2 kB / 1.113 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.6222, allocations: 115 kB / 1.114 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.6223, allocations: 90.91 kB / 1.114 GB, free: 199.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.6224, allocations: 32.94 kB / 1.114 GB, free: 199.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.071e-06/0.6224, allocations: 3.469 kB / 1.114 GB, free: 199.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001603/0.624, allocations: 0.7886 MB / 1.114 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6241, allocations: 54.03 kB / 1.115 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.6243, allocations: 194.4 kB / 1.115 GB, free: 199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.6244, allocations: 31.08 kB / 1.115 GB, free: 199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.6245, allocations: 157 kB / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.6245, allocations: 71.94 kB / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.6246, allocations: 4 kB / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.6246, allocations: 332.6 kB / 1.115 GB, free: 198.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.6249, allocations: 108.4 kB / 1.115 GB, free: 198.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.6252, allocations: 170.4 kB / 1.116 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.6254, allocations: 140.3 kB / 1.116 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.168e-06/0.6255, allocations: 1.375 kB / 1.116 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001024/0.6265, allocations: 413.7 kB / 1.116 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6265, allocations: 6.844 kB / 1.116 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6265, allocations: 2.375 kB / 1.116 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.6271, allocations: 99.67 kB / 1.116 GB, free: 198 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.6275, allocations: 51.03 kB / 1.116 GB, free: 198 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.6296, allocations: 1.737 MB / 1.118 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.6299, allocations: 15.78 kB / 1.118 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.63, allocations: 9.859 kB / 1.118 GB, free: 196.6 MB / 0.7136 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.0002275/0.6302, allocations: 163.6 kB / 1.118 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.6303, allocations: 16.91 kB / 1.118 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.6309, allocations: 292.9 kB / 1.118 GB, free: 196.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.095e-06/0.631, allocations: 2.781 kB / 1.118 GB, free: 196.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-06/0.631, allocations: 8.891 kB / 1.118 GB, free: 196.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.631, allocations: 2.266 kB / 1.118 GB, free: 196.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6321, allocations: 0.7014 MB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6322, allocations: 1.594 kB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.6326, allocations: 61.33 kB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.621e-06/0.6326, allocations: 5.875 kB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.6326, allocations: 2.688 kB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.787e-06/0.6327, allocations: 2.719 kB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.912e-06/0.6327, allocations: 1.219 kB / 1.119 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.6335, allocations: 0.5213 MB / 1.12 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.6336, allocations: 118.5 kB / 1.12 GB, free: 195.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.6337, allocations: 7.984 kB / 1.12 GB, free: 195.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.6339, allocations: 13.7 kB / 1.12 GB, free: 195.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.634, allocations: 12.22 kB / 1.12 GB, free: 195.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.634, allocations: 3.969 kB / 1.12 GB, free: 195.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001728/0.6342, allocations: 143.6 kB / 1.12 GB, free: 195.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.87e-07/0.6342, allocations: 0 / 1.12 GB, free: 195.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00054/0.6348, allocations: 66.59 kB / 1.12 GB, free: 195.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0001572/0.6349, allocations: 117.5 kB / 1.12 GB, free: 195.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008846/0.6358, allocations: 427.6 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.702e-06/0.6359, allocations: 0 / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.6361, allocations: 121.2 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.6366, allocations: 43.22 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.6382, allocations: 0.7703 MB / 1.121 GB, free: 194.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.6385, allocations: 0.7779 MB / 1.122 GB, free: 193.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.6388, allocations: 59.38 kB / 1.122 GB, free: 193.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.6389, allocations: 19.56 kB / 1.122 GB, free: 193.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.832e-06/0.6389, allocations: 0 / 1.122 GB, free: 193.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.008974/0.6479, allocations: 2.577 MB / 1.125 GB, free: 193.8 MB / 0.7136 GB