Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.93/1.93, allocations: 291.7 MB / 306.8 MB, free: 7.727 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.00101/0.00101, allocations: 189.3 kB / 375.4 MB, free: 5.129 MB / 298.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.564/1.564, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.0008038/0.0008039, allocations: 101.2 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003882, allocations: 12 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6341, allocations: 118.1 MB / 1.011 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002834/0.637, allocations: 2.123 MB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.6382, allocations: 0.7372 MB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.6383, allocations: 3.906 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.6385, allocations: 25.06 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.6388, allocations: 80.36 kB / 1.014 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.6391, allocations: 88.77 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.6394, allocations: 232.3 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.6397, allocations: 186.9 kB / 1.014 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.6398, allocations: 57.33 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.64, allocations: 91.52 kB / 1.014 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.64, allocations: 8.375 kB / 1.014 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.6401, allocations: 54.95 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.6402, allocations: 47.7 kB / 1.015 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.6402, allocations: 48.2 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.6405, allocations: 167.2 kB / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6405, allocations: 0 / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6405, allocations: 1.344 kB / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.6405, allocations: 0 / 1.015 GB, free: 57.24 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005881/0.6411, allocations: 421.1 kB / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6411, allocations: 10.72 kB / 1.015 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.6415, allocations: 43.75 kB / 1.015 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.6417, allocations: 216.1 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6417, allocations: 11.03 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.6417, allocations: 17.75 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.6421, allocations: 223.4 kB / 1.016 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6421, allocations: 192 / 1.016 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.6422, allocations: 11.62 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.6422, allocations: 16.34 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.6424, allocations: 145.5 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.6433, allocations: 1.132 MB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.6434, allocations: 43.06 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.6435, allocations: 23.55 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.6435, allocations: 0 / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6435, allocations: 35.53 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.6435, allocations: 0 / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001847/0.6437, allocations: 73.12 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.6437, allocations: 59.28 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.6439, allocations: 176.1 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.6439, allocations: 29.23 kB / 1.017 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.644, allocations: 140.8 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.644, allocations: 15.2 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.644, allocations: 0 / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.6441, allocations: 321.2 kB / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.6441, allocations: 22.09 kB / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.6442, allocations: 91.84 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.6443, allocations: 114.5 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6443, allocations: 6.469 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001823/0.6445, allocations: 131.7 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.6446, allocations: 169.1 kB / 1.018 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6446, allocations: 6.875 kB / 1.018 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6446, allocations: 5.344 kB / 1.018 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.6447, allocations: 23.12 kB / 1.018 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6448, allocations: 4 kB / 1.018 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.6448, allocations: 24.22 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.6449, allocations: 11.38 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-06/0.6449, allocations: 6.719 kB / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001563/0.645, allocations: 94.66 kB / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.645, allocations: 2.781 kB / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.645, allocations: 8.906 kB / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.6451, allocations: 26.19 kB / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.6451, allocations: 0 / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.6452, allocations: 9.469 kB / 1.019 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6452, allocations: 9.344 kB / 1.019 GB, free: 54.36 MB / 0.7136 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 9.268e-05/0.6453, allocations: 221.2 kB / 1.019 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.6453, allocations: 11.28 kB / 1.019 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.6454, allocations: 20.06 kB / 1.019 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.6454, allocations: 0 / 1.019 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6454, allocations: 0 / 1.019 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6454, allocations: 3.938 kB / 1.019 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.6457, allocations: 469.4 kB / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6457, allocations: 2.125 kB / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.6458, allocations: 7.656 kB / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6458, allocations: 11.34 kB / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.6458, allocations: 0 / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6458, allocations: 0 / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6458, allocations: 3.141 kB / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.845e-05/0.6459, allocations: 118.8 kB / 1.019 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.646, allocations: 95.95 kB / 1.019 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.646, allocations: 3.938 kB / 1.019 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.646, allocations: 0 / 1.019 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.6461, allocations: 7.406 kB / 1.019 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.6461, allocations: 0 / 1.019 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.6462, allocations: 131.2 kB / 1.02 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6462, allocations: 0.75 kB / 1.02 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003256/0.6465, allocations: 50.25 kB / 1.02 GB, free: 53.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001451/0.6467, allocations: 106.3 kB / 1.02 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.6469, allocations: 107.8 kB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6469, allocations: 1.25 kB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.6469, allocations: 23.48 kB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.6473, allocations: 27.3 kB / 1.02 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.6478, allocations: 315.5 kB / 1.02 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.648, allocations: 0.7174 MB / 1.021 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.6481, allocations: 31.88 kB / 1.021 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.6482, allocations: 11.56 kB / 1.021 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.6482, allocations: 0 / 1.021 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.003092/0.6513, allocations: 0.787 MB / 1.022 GB, free: 52.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)