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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.303/4.303, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.418e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6159, allocations: 98.72 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.9089, allocations: 150.6 MB / 0.776 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/0.9094, allocations: 91.94 kB / 0.7761 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08376/0.9932, allocations: 16.37 MB / 0.7921 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9932, allocations: 0 / 0.7921 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.9933, allocations: 7.984 kB / 0.7921 GB, free: 8.266 MB / 0.6667 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.001457/0.9947, allocations: 0.5161 MB / 0.7926 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.9948, allocations: 12.03 kB / 0.7926 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.9966, allocations: 91.62 kB / 0.7927 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.9974, allocations: 267 kB / 0.793 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.9974, allocations: 4 kB / 0.793 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.9975, allocations: 16 kB / 0.793 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008818/0.9984, allocations: 220.9 kB / 0.7932 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.9995, allocations: 332.2 kB / 0.7935 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.9995, allocations: 0 / 0.7935 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.9996, allocations: 0 / 0.7935 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-05/0.9997, allocations: 28.38 kB / 0.7935 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/1.003, allocations: 1.482 MB / 0.795 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/1.004, allocations: 214.5 kB / 0.7952 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/1.005, allocations: 110.8 kB / 0.7953 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/1.005, allocations: 85.11 kB / 0.7954 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.005, allocations: 34.56 kB / 0.7954 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 4.569e-06/1.005, allocations: 4 kB / 0.7954 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.002862/1.008, allocations: 0.7127 MB / 0.7961 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.008, allocations: 55.41 kB / 0.7962 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/1.008, allocations: 149.5 kB / 0.7963 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/1.008, allocations: 25.7 kB / 0.7963 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/1.008, allocations: 167.8 kB / 0.7965 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.009, allocations: 63.09 kB / 0.7966 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/1.009, allocations: 0 / 0.7966 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.009, allocations: 331 kB / 0.7969 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/1.009, allocations: 104 kB / 0.797 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/1.01, allocations: 165.9 kB / 0.7971 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/1.01, allocations: 155.8 kB / 0.7973 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.01, allocations: 4 kB / 0.7973 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001753/1.012, allocations: 401.2 kB / 0.7977 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.012, allocations: 8 kB / 0.7977 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.012, allocations: 4.188 kB / 0.7977 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/1.013, allocations: 96.7 kB / 0.7978 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/1.014, allocations: 43.97 kB / 0.7978 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/1.017, allocations: 1.67 MB / 0.7994 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/1.017, allocations: 8.047 kB / 0.7994 GB, free: 228 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/1.017, allocations: 16 kB / 0.7995 GB, free: 212 kB / 0.6667 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 () * 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.0001434/1.017, allocations: 108.9 kB / 0.7996 GB, free: 96 kB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.537/1.554, allocations: 263.3 kB / 0.7998 GB, free: 159.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/1.555, allocations: 14.16 kB / 0.7998 GB, free: 159.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.556, allocations: 295.7 kB / 0.8001 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.556, allocations: 7.109 kB / 0.8001 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.556, allocations: 1.266 kB / 0.8001 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.556, allocations: 1.156 kB / 0.8001 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/1.557, allocations: 0.6626 MB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.557, allocations: 4.422 kB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/1.558, allocations: 57.31 kB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.558, allocations: 1.125 kB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.558, allocations: 3.391 kB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/1.558, allocations: 1.656 kB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.558, allocations: 2.172 kB / 0.8008 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/1.559, allocations: 0.5354 MB / 0.8014 GB, free: 159.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.56, allocations: 119.2 kB / 0.8015 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/1.56, allocations: 4 kB / 0.8015 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.56, allocations: 10.28 kB / 0.8015 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/1.56, allocations: 9.953 kB / 0.8015 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/1.56, allocations: 12.33 kB / 0.8015 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001705/1.56, allocations: 129.7 kB / 0.8016 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/1.56, allocations: 0 / 0.8016 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000594/1.561, allocations: 69.44 kB / 0.8017 GB, free: 159.2 MB / 0.6667 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 () * 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.001535/1.562, allocations: 1.227 MB / 0.8029 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.563, allocations: 399.1 kB / 0.8033 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.563, allocations: 0 / 0.8033 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/1.564, allocations: 115.3 kB / 0.8034 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/1.564, allocations: 26.03 kB / 0.8034 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.566, allocations: 0.5588 MB / 0.804 GB, free: 158 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.566, allocations: 0.7778 MB / 0.8047 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003449/1.567, allocations: 57.88 kB / 0.8048 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/1.567, allocations: 65 kB / 0.8048 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.795e-06/1.567, allocations: 0 / 0.8048 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/1.61, allocations: 4.115 MB / 0.8088 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.61, allocations: 157.3 kB / 0.809 GB, free: 157 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/4.099, allocations: 0 / 0.809 GB, free: 157 MB / 0.6667 GB