Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") 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.686/1.686, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.00104/0.00104, allocations: 185.2 kB / 382.3 MB, free: 14.82 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.5/1.5, allocations: 225.7 MB / 0.6617 GB, free: 7.242 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.0008542/0.0008541, allocations: 91.59 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 8 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8309, allocations: 119.2 MB / 1.022 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004311/0.8353, allocations: 2.694 MB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00337/0.8387, allocations: 2.777 MB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.8389, allocations: 2.969 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.8392, allocations: 45.45 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.8398, allocations: 202 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.8404, allocations: 161.6 kB / 1.028 GB, free: 53.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.8409, allocations: 465.8 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.8419, allocations: 0.8208 MB / 1.029 GB, free: 53.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.8421, allocations: 117.6 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.8425, allocations: 147 kB / 1.03 GB, free: 52.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.8425, allocations: 14.56 kB / 1.03 GB, free: 52.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.843, allocations: 274.7 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.8432, allocations: 90.56 kB / 1.03 GB, free: 52.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.8433, allocations: 136.9 kB / 1.03 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.8439, allocations: 425.8 kB / 1.03 GB, free: 52.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8439, allocations: 0 / 1.03 GB, free: 52.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8439, allocations: 0 / 1.03 GB, free: 52.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8439, allocations: 1.938 kB / 1.03 GB, free: 52.6 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009125/0.8448, allocations: 0.5005 MB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.8449, allocations: 9 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/0.8456, allocations: 92.64 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.8459, allocations: 256.2 kB / 1.031 GB, free: 51.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.846, allocations: 18.34 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.8461, allocations: 23.42 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.8467, allocations: 376 kB / 1.032 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.8467, allocations: 0 / 1.032 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.8468, allocations: 11.73 kB / 1.032 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.8469, allocations: 31.69 kB / 1.032 GB, free: 51.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.8474, allocations: 303.6 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.8491, allocations: 1.545 MB / 1.033 GB, free: 50.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.8495, allocations: 237.9 kB / 1.034 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.8497, allocations: 111.6 kB / 1.034 GB, free: 50.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.8498, allocations: 86.55 kB / 1.034 GB, free: 50.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.8499, allocations: 36.42 kB / 1.034 GB, free: 50.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.8499, allocations: 1.469 kB / 1.034 GB, free: 50.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001185/0.8511, allocations: 0.7898 MB / 1.035 GB, free: 49.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.8511, allocations: 60.41 kB / 1.035 GB, free: 49.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.8513, allocations: 186.4 kB / 1.035 GB, free: 49.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.8513, allocations: 29.7 kB / 1.035 GB, free: 49.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.8514, allocations: 166.9 kB / 1.035 GB, free: 49.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.8514, allocations: 65.97 kB / 1.035 GB, free: 49.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.8515, allocations: 6.156 kB / 1.035 GB, free: 49.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.8515, allocations: 332.2 kB / 1.036 GB, free: 48.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.8517, allocations: 113.2 kB / 1.036 GB, free: 48.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.8519, allocations: 167 kB / 1.036 GB, free: 48.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.8523, allocations: 298.4 kB / 1.036 GB, free: 48.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8523, allocations: 0 / 1.036 GB, free: 48.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007075/0.853, allocations: 416.6 kB / 1.036 GB, free: 48.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.853, allocations: 10.91 kB / 1.036 GB, free: 48.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.853, allocations: 1.734 kB / 1.036 GB, free: 48.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.8535, allocations: 100.2 kB / 1.037 GB, free: 48.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.8537, allocations: 50.67 kB / 1.037 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.8553, allocations: 1.736 MB / 1.038 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.8555, allocations: 16.55 kB / 1.038 GB, free: 46.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.8555, allocations: 11.56 kB / 1.038 GB, free: 46.82 MB / 0.698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.8557, allocations: 154.7 kB / 1.038 GB, free: 46.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.8558, allocations: 26.56 kB / 1.039 GB, free: 46.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.8563, allocations: 295 kB / 1.039 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8563, allocations: 2.906 kB / 1.039 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.8563, allocations: 0 / 1.039 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8563, allocations: 8.438 kB / 1.039 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.8572, allocations: 0.7044 MB / 1.039 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8572, allocations: 0 / 1.039 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.8575, allocations: 59.72 kB / 1.04 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8575, allocations: 4.062 kB / 1.04 GB, free: 46.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.8575, allocations: 9.75 kB / 1.04 GB, free: 46.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8575, allocations: 0 / 1.04 GB, free: 46.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8575, allocations: 3.938 kB / 1.04 GB, free: 46.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.8581, allocations: 0.5063 MB / 1.04 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.8582, allocations: 113.5 kB / 1.04 GB, free: 45.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.8582, allocations: 11.22 kB / 1.04 GB, free: 45.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.8584, allocations: 16.19 kB / 1.04 GB, free: 45.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.8584, allocations: 14.62 kB / 1.04 GB, free: 45.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.8585, allocations: 5.375 kB / 1.04 GB, free: 45.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001122/0.8586, allocations: 143 kB / 1.04 GB, free: 45.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8586, allocations: 0 / 1.04 GB, free: 45.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000349/0.859, allocations: 66.47 kB / 1.04 GB, free: 45.54 MB / 0.698 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 (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.0001711/0.8591, allocations: 128.9 kB / 1.041 GB, free: 45.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007464/0.8599, allocations: 424 kB / 1.041 GB, free: 45.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8599, allocations: 0 / 1.041 GB, free: 45.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.8601, allocations: 124.6 kB / 1.041 GB, free: 45.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.8605, allocations: 37.47 kB / 1.041 GB, free: 45.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.8616, allocations: 0.7653 MB / 1.042 GB, free: 44.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.8619, allocations: 0.7676 MB / 1.043 GB, free: 43.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.8621, allocations: 63.42 kB / 1.043 GB, free: 43.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.8621, allocations: 25.84 kB / 1.043 GB, free: 43.97 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.8621, allocations: 0 / 1.043 GB, free: 43.97 MB / 0.698 GB Notification: Performance of Templates: time 0.006497/0.8686, allocations: 2.632 MB / 1.045 GB, free: 43.8 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)