Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.721/1.721, allocations: 297.4 MB / 312.6 MB, free: 2.883 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.001437/0.001437, allocations: 182 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.483/1.483, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.0008399/0.00084, allocations: 91.28 kB / 0.7789 GB, free: 46.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.5987, allocations: 119.2 MB / 1.022 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003197/0.602, allocations: 2.273 MB / 1.024 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.6046, allocations: 2.469 MB / 1.027 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.6048, allocations: 6.625 kB / 1.027 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.6051, allocations: 28.33 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.6057, allocations: 169.4 kB / 1.027 GB, free: 53.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.6062, allocations: 148.8 kB / 1.027 GB, free: 53.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.6067, allocations: 349.4 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/0.6075, allocations: 486.1 kB / 1.028 GB, free: 53.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.6076, allocations: 87.27 kB / 1.028 GB, free: 52.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.6079, allocations: 98.75 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.6079, allocations: 14.62 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.6084, allocations: 266.7 kB / 1.028 GB, free: 52.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.6085, allocations: 62.83 kB / 1.029 GB, free: 52.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.6086, allocations: 99.77 kB / 1.029 GB, free: 52.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.609, allocations: 332.2 kB / 1.029 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.609, allocations: 0 / 1.029 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.609, allocations: 0.625 kB / 1.029 GB, free: 52.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.609, allocations: 1.188 kB / 1.029 GB, free: 52.68 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007908/0.6098, allocations: 461.1 kB / 1.029 GB, free: 52.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6099, allocations: 8.344 kB / 1.029 GB, free: 52.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005644/0.6105, allocations: 79.05 kB / 1.029 GB, free: 52.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.6107, allocations: 229.3 kB / 1.03 GB, free: 52.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.6108, allocations: 17.69 kB / 1.03 GB, free: 52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.6108, allocations: 20.53 kB / 1.03 GB, free: 52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.6113, allocations: 320 kB / 1.03 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6114, allocations: 2.062 kB / 1.03 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.6114, allocations: 9.078 kB / 1.03 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.6114, allocations: 24.69 kB / 1.03 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.6118, allocations: 251.7 kB / 1.03 GB, free: 51.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.6131, allocations: 1.638 MB / 1.032 GB, free: 50.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.6137, allocations: 405.6 kB / 1.032 GB, free: 49.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.6139, allocations: 90.45 kB / 1.032 GB, free: 49.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.614, allocations: 84.77 kB / 1.032 GB, free: 49.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.614, allocations: 36.94 kB / 1.033 GB, free: 49.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.614, allocations: 4 kB / 1.033 GB, free: 49.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006018/0.6146, allocations: 315 kB / 1.033 GB, free: 49.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.6147, allocations: 80.52 kB / 1.033 GB, free: 49.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.6148, allocations: 164.1 kB / 1.033 GB, free: 49.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.6148, allocations: 31.33 kB / 1.033 GB, free: 49.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.6149, allocations: 148.8 kB / 1.033 GB, free: 49.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.6149, allocations: 52.17 kB / 1.033 GB, free: 49.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.6149, allocations: 4 kB / 1.033 GB, free: 49.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.615, allocations: 329.4 kB / 1.034 GB, free: 48.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6151, allocations: 76.05 kB / 1.034 GB, free: 48.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.6152, allocations: 148.6 kB / 1.034 GB, free: 48.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.6155, allocations: 249.5 kB / 1.034 GB, free: 48.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6155, allocations: 3.406 kB / 1.034 GB, free: 48.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003409/0.6159, allocations: 276.2 kB / 1.034 GB, free: 48.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.6159, allocations: 164.1 kB / 1.034 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6159, allocations: 1.5 kB / 1.034 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.616, allocations: 4.969 kB / 1.034 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.6162, allocations: 53.31 kB / 1.035 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6162, allocations: 3.969 kB / 1.035 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.6164, allocations: 15.89 kB / 1.035 GB, free: 48.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.6164, allocations: 9.156 kB / 1.035 GB, free: 48.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.6164, allocations: 4.438 kB / 1.035 GB, free: 48.28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002839/0.6167, allocations: 213.7 kB / 1.035 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.6167, allocations: 0 / 1.035 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.6167, allocations: 4.844 kB / 1.035 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6169, allocations: 49.81 kB / 1.035 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.6169, allocations: 8.344 kB / 1.035 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.617, allocations: 16.97 kB / 1.035 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.617, allocations: 15.23 kB / 1.035 GB, free: 48.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.6172, allocations: 231.8 kB / 1.035 GB, free: 47.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.6172, allocations: 17.75 kB / 1.035 GB, free: 47.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.6175, allocations: 198.8 kB / 1.035 GB, free: 47.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.6176, allocations: 0 / 1.035 GB, free: 47.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6176, allocations: 5.438 kB / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6176, allocations: 1.406 kB / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009807/0.6186, allocations: 0.9633 MB / 1.036 GB, free: 47.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.6186, allocations: 3.453 kB / 1.036 GB, free: 47.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.6187, allocations: 40.73 kB / 1.036 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6187, allocations: 3.281 kB / 1.036 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6187, allocations: 6.094 kB / 1.036 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6188, allocations: 6.141 kB / 1.036 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6188, allocations: 8.516 kB / 1.036 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.619, allocations: 440.5 kB / 1.037 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.6191, allocations: 108 kB / 1.037 GB, free: 46.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.6192, allocations: 12.16 kB / 1.037 GB, free: 46.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.6193, allocations: 13.88 kB / 1.037 GB, free: 46.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.6194, allocations: 26.19 kB / 1.037 GB, free: 46.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.6194, allocations: 8.406 kB / 1.037 GB, free: 46.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.837e-05/0.6195, allocations: 134.6 kB / 1.037 GB, free: 46.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6195, allocations: 1.531 kB / 1.037 GB, free: 46.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00046/0.62, allocations: 70.97 kB / 1.037 GB, free: 46.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (14): * Single equations (assignments): 14 * 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.0001313/0.6201, allocations: 115.7 kB / 1.037 GB, free: 46.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.6205, allocations: 294.4 kB / 1.037 GB, free: 46.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6205, allocations: 2 kB / 1.037 GB, free: 46.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.6206, allocations: 89.19 kB / 1.038 GB, free: 46.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.6211, allocations: 36.83 kB / 1.038 GB, free: 46.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.6218, allocations: 0.558 MB / 1.038 GB, free: 45.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.6219, allocations: 0.75 MB / 1.039 GB, free: 45.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.6222, allocations: 79.27 kB / 1.039 GB, free: 45.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.6222, allocations: 16.91 kB / 1.039 GB, free: 45.16 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.6222, allocations: 0 / 1.039 GB, free: 45.16 MB / 0.698 GB Notification: Performance of Templates: time 0.003845/0.6261, allocations: 1.717 MB / 1.041 GB, free: 45.04 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)