Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009543/0.0009544, allocations: 176.6 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.5786 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008706/0.0008705, allocations: 88.06 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 9.406 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002388/0.1921, allocations: 2.212 MB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1932, allocations: 0.7519 MB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1933, allocations: 4 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.1935, allocations: 27.78 kB / 0.9044 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1939, allocations: 107.5 kB / 0.9045 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1942, allocations: 103.8 kB / 0.9046 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1944, allocations: 295.3 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1946, allocations: 179.3 kB / 0.905 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.1947, allocations: 67.72 kB / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1949, allocations: 83.72 kB / 0.9052 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1949, allocations: 8 kB / 0.9052 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1951, allocations: 143.6 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1952, allocations: 51.81 kB / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.1952, allocations: 85.38 kB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1954, allocations: 167.9 kB / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1954, allocations: 0 / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1954, allocations: 0 / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1954, allocations: 0 / 0.9056 GB, free: 59.22 MB / 0.6042 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.0004452/0.1959, allocations: 427.3 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1959, allocations: 12.03 kB / 0.906 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.1962, allocations: 48.7 kB / 0.9061 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1964, allocations: 212.1 kB / 0.9063 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1964, allocations: 8.656 kB / 0.9063 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1965, allocations: 12.38 kB / 0.9063 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.1968, allocations: 250.9 kB / 0.9065 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1968, allocations: 192 / 0.9065 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1968, allocations: 7.938 kB / 0.9065 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.1968, allocations: 16.28 kB / 0.9066 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.197, allocations: 148.7 kB / 0.9067 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.1978, allocations: 1.13 MB / 0.9078 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.1979, allocations: 50.5 kB / 0.9079 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.1979, allocations: 12.86 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1979, allocations: 0 / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.1979, allocations: 34.56 kB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1979, allocations: 0 / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.1981, allocations: 73.67 kB / 0.908 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.1981, allocations: 55.34 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1983, allocations: 181.7 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.1983, allocations: 25.7 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1983, allocations: 143.4 kB / 0.9084 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.1983, allocations: 15.8 kB / 0.9084 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.1984, allocations: 4 kB / 0.9084 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.1984, allocations: 318.8 kB / 0.9087 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.1984, allocations: 20 kB / 0.9087 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.1985, allocations: 89.42 kB / 0.9088 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.1986, allocations: 121.3 kB / 0.9089 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1986, allocations: 0 / 0.9089 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001459/0.1988, allocations: 137.3 kB / 0.909 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.1988, allocations: 164.5 kB / 0.9092 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1988, allocations: 3.984 kB / 0.9092 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1988, allocations: 4 kB / 0.9092 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.1989, allocations: 27.94 kB / 0.9092 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.199, allocations: 4 kB / 0.9092 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.199, allocations: 23.77 kB / 0.9092 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.199, allocations: 8 kB / 0.9093 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.1991, allocations: 4 kB / 0.9093 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001084/0.1992, allocations: 103.6 kB / 0.9094 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.1992, allocations: 8.312 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.1992, allocations: 4.281 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.1993, allocations: 27.92 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.1993, allocations: 0 / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.1993, allocations: 15.91 kB / 0.9094 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1993, allocations: 4 kB / 0.9094 GB, free: 54.9 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/0.1994, allocations: 220.9 kB / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1995, allocations: 11.89 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.1995, allocations: 16.92 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1995, allocations: 4 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1995, allocations: 0 / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1995, allocations: 3.938 kB / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.1998, allocations: 477 kB / 0.9101 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1998, allocations: 0 / 0.9101 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.1998, allocations: 4.125 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1999, allocations: 15.92 kB / 0.9101 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1999, allocations: 0 / 0.9101 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1999, allocations: 4 kB / 0.9101 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1999, allocations: 0 / 0.9101 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.2, allocations: 111.5 kB / 0.9102 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.2, allocations: 92.94 kB / 0.9103 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2, allocations: 0 / 0.9103 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.2001, allocations: 8 kB / 0.9103 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.2001, allocations: 0 / 0.9103 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.2001, allocations: 4 kB / 0.9103 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.2002, allocations: 124.9 kB / 0.9105 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2002, allocations: 0 / 0.9105 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002921/0.2005, allocations: 55.75 kB / 0.9105 GB, free: 53.64 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.182e-05/0.2006, allocations: 103.2 kB / 0.9106 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.2007, allocations: 107.7 kB / 0.9107 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2007, allocations: 1.25 kB / 0.9107 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.2007, allocations: 15.94 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.201, allocations: 30.23 kB / 0.9108 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.2014, allocations: 370.4 kB / 0.9111 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2016, allocations: 0.7202 MB / 0.9118 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.2016, allocations: 15.44 kB / 0.9118 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2016, allocations: 0 / 0.9118 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.002335/0.204, allocations: 1.433 MB / 0.9132 GB, free: 50.78 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)