Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 285.6 MB / 293.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 180.8 kB / 361.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 95.91 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.794e-05, allocations: 0 / 0.8517 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6687, allocations: 115.3 MB / 0.9644 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.8678, allocations: 159.2 MB / 1.12 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.8681, allocations: 88.52 kB / 1.12 GB, free: 12.49 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.02139/0.8895, allocations: 9.438 MB / 1.129 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8896, allocations: 0 / 1.129 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.8896, allocations: 4 kB / 1.129 GB, free: 3.035 MB / 0.7292 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.0005807/0.8902, allocations: 415.3 kB / 1.13 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8902, allocations: 15.41 kB / 1.13 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.8907, allocations: 47.77 kB / 1.13 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.891, allocations: 215.2 kB / 1.13 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.891, allocations: 4 kB / 1.13 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.891, allocations: 9.406 kB / 1.13 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00024/0.8913, allocations: 127.3 kB / 1.13 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.8916, allocations: 207.7 kB / 1.13 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8916, allocations: 0 / 1.13 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.8916, allocations: 0 / 1.13 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.8917, allocations: 16.27 kB / 1.13 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.8927, allocations: 1.084 MB / 1.131 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.8928, allocations: 22.58 kB / 1.131 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.8928, allocations: 16.94 kB / 1.131 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.8928, allocations: 0 / 1.131 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.8929, allocations: 38.52 kB / 1.131 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.8929, allocations: 0 / 1.131 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001617/0.893, allocations: 57.52 kB / 1.131 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.8931, allocations: 51.41 kB / 1.131 GB, free: 488 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8932, allocations: 135.1 kB / 1.132 GB, free: 348 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.8932, allocations: 31.11 kB / 1.132 GB, free: 312 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.8933, allocations: 151.2 kB / 1.132 GB, free: 156 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.8934, allocations: 7.891 kB / 1.132 GB, free: 148 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.8934, allocations: 0 / 1.132 GB, free: 148 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8935, allocations: 322.8 kB / 1.132 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.8935, allocations: 27.98 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.8936, allocations: 81.44 kB / 1.132 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/0.8937, allocations: 35.92 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.8937, allocations: 0 / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001982/0.8939, allocations: 117.4 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003973/0.8943, allocations: 0.9574 MB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.8943, allocations: 4 kB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.8944, allocations: 4 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.8945, allocations: 35.88 kB / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8945, allocations: 4 kB / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.8946, allocations: 13.62 kB / 1.133 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.8946, allocations: 4 kB / 1.133 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.8946, allocations: 5.094 kB / 1.133 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001305/0.8947, allocations: 83.77 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8948, allocations: 4 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.8948, allocations: 4 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.8949, allocations: 23.94 kB / 1.133 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8949, allocations: 9.859 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.8949, allocations: 7.844 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8949, allocations: 8 kB / 1.133 GB, free: 14.29 MB / 0.7448 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 () * 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.021e-05/0.895, allocations: 113.2 kB / 1.134 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.8951, allocations: 7.906 kB / 1.134 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.8951, allocations: 12.34 kB / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8951, allocations: 0 / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8951, allocations: 0 / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.8951, allocations: 0 / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.8955, allocations: 424.3 kB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8955, allocations: 0 / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.8956, allocations: 4 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8956, allocations: 5.688 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8956, allocations: 0 / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8956, allocations: 0 / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8956, allocations: 11.88 kB / 1.134 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.8957, allocations: 122.2 kB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.8958, allocations: 85.02 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.8958, allocations: 3.984 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.8958, allocations: 4 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.8959, allocations: 3.953 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.8959, allocations: 0 / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.795e-05/0.896, allocations: 114.5 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/0.896, allocations: 4 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003625/0.8963, allocations: 55.69 kB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001497/0.8965, allocations: 103 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.8967, allocations: 92.84 kB / 1.135 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8967, allocations: 0 / 1.135 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.8967, allocations: 8.312 kB / 1.135 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.8969, allocations: 23.69 kB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.8973, allocations: 167.8 kB / 1.135 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.8976, allocations: 0.7241 MB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.8978, allocations: 30.39 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.8978, allocations: 11.44 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.8978, allocations: 0 / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.002909/0.9007, allocations: 0.7279 MB / 1.136 GB, free: 11.32 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)