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.411/1.411, allocations: 252 MB / 267.6 MB, free: 10.91 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.00119/0.00119, allocations: 175.1 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0009881/0.0009881, allocations: 94.23 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 7.25 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1941, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002534/0.1967, allocations: 2.138 MB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1978, allocations: 0.7249 MB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.198, allocations: 0 / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1981, allocations: 27.78 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.1984, allocations: 87.62 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1987, allocations: 83.83 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1989, allocations: 239.3 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.1992, allocations: 171.2 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.1993, allocations: 59.77 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1995, allocations: 87.72 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1995, allocations: 12 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1997, allocations: 55.89 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1997, allocations: 43.89 kB / 0.9044 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1998, allocations: 53.58 kB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2, allocations: 163.9 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2, allocations: 0 / 0.9047 GB, free: 59.91 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.0004654/0.2005, allocations: 423.2 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2005, allocations: 15.97 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.2009, allocations: 43.78 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.2011, allocations: 218.7 kB / 0.9053 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2011, allocations: 12.27 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.2011, allocations: 16 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2014, allocations: 230.7 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2014, allocations: 3.938 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2015, allocations: 8 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.2015, allocations: 16.27 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.2017, allocations: 144.7 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.2026, allocations: 1.13 MB / 0.9068 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/0.2026, allocations: 38.56 kB / 0.9069 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.2027, allocations: 28.75 kB / 0.9069 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.2027, allocations: 0 / 0.9069 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2027, allocations: 34.64 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.2027, allocations: 4 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000169/0.2029, allocations: 69.59 kB / 0.907 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2029, allocations: 51.41 kB / 0.9071 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.203, allocations: 173.8 kB / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.2031, allocations: 25.7 kB / 0.9072 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2031, allocations: 147.3 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.2031, allocations: 11.91 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.2031, allocations: 0 / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.2032, allocations: 322.8 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.2032, allocations: 23.92 kB / 0.9077 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.2033, allocations: 89.44 kB / 0.9078 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.49e-05/0.2034, allocations: 31.98 kB / 0.9078 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2034, allocations: 4 kB / 0.9078 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001694/0.2036, allocations: 141.2 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.2036, allocations: 156.6 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2036, allocations: 8 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2037, allocations: 4 kB / 0.9081 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.2038, allocations: 27.92 kB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2038, allocations: 4 kB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.2038, allocations: 15.84 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2039, allocations: 8 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.2039, allocations: 4 kB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001539/0.204, allocations: 99.86 kB / 0.9083 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.204, allocations: 8.156 kB / 0.9083 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.2041, allocations: 4 kB / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.2041, allocations: 27.92 kB / 0.9083 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2041, allocations: 7.953 kB / 0.9083 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.2042, allocations: 15.84 kB / 0.9084 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2042, allocations: 8 kB / 0.9084 GB, free: 55.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.2043, allocations: 217 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.2043, allocations: 16.05 kB / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.2044, allocations: 16.92 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2044, allocations: 0 / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2044, allocations: 7.953 kB / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2044, allocations: 0 / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.2047, allocations: 473.1 kB / 0.9091 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2047, allocations: 8.031 kB / 0.9091 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.2048, allocations: 7.953 kB / 0.9091 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2048, allocations: 0 / 0.9091 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2048, allocations: 4 kB / 0.9091 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2048, allocations: 0 / 0.9091 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2048, allocations: 4 kB / 0.9091 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.689e-05/0.2049, allocations: 111.5 kB / 0.9092 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.2049, allocations: 89.02 kB / 0.9093 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.205, allocations: 7.938 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.205, allocations: 4 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.205, allocations: 4 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.205, allocations: 0 / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.927e-05/0.2051, allocations: 124.9 kB / 0.9094 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2051, allocations: 4 kB / 0.9094 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003065/0.2054, allocations: 51.84 kB / 0.9095 GB, free: 54.46 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 (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 8.286e-05/0.2055, allocations: 103.2 kB / 0.9096 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.2057, allocations: 100.7 kB / 0.9097 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2057, allocations: 320 / 0.9097 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.2057, allocations: 23.92 kB / 0.9097 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.206, allocations: 20.67 kB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2064, allocations: 358.6 kB / 0.91 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2065, allocations: 0.7241 MB / 0.9108 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.2066, allocations: 15.44 kB / 0.9108 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2066, allocations: 0 / 0.9108 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.002615/0.2092, allocations: 1.431 MB / 0.9122 GB, free: 51.61 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)