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.36/1.36, allocations: 252 MB / 267.9 MB, free: 10.92 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.001007/0.001007, allocations: 184.3 kB / 327.6 MB, free: 2.145 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.672/1.672, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0008089/0.0008088, allocations: 80.33 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 13.44 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.3724, allocations: 153.7 MB / 1.051 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.3727, allocations: 95.94 kB / 1.051 GB, free: 5.652 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.3377/0.7104, allocations: 9.562 MB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7104, allocations: 2.625 kB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.7105, allocations: 2.844 kB / 1.061 GB, free: 152.1 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004191/0.7109, allocations: 428.1 kB / 1.061 GB, free: 151.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7109, allocations: 10.59 kB / 1.061 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.7113, allocations: 55.22 kB / 1.061 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.7115, allocations: 211.4 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.7115, allocations: 10.61 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.7116, allocations: 11.69 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.7119, allocations: 233.2 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7119, allocations: 4.188 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.7119, allocations: 9.906 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.7119, allocations: 11.2 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.7122, allocations: 149.7 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.7132, allocations: 1.146 MB / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.7133, allocations: 29.67 kB / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.7133, allocations: 16.31 kB / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.7133, allocations: 0.6094 kB / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.7134, allocations: 34.55 kB / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.7134, allocations: 0 / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001804/0.7136, allocations: 61.78 kB / 1.063 GB, free: 150.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.7136, allocations: 61.73 kB / 1.063 GB, free: 150.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.7138, allocations: 178.2 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.7138, allocations: 29.7 kB / 1.063 GB, free: 150.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.7139, allocations: 147 kB / 1.064 GB, free: 150 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.7139, allocations: 11.89 kB / 1.064 GB, free: 150 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-06/0.7139, allocations: 2.812 kB / 1.064 GB, free: 150 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.714, allocations: 320.3 kB / 1.064 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.7141, allocations: 26.59 kB / 1.064 GB, free: 149.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.7141, allocations: 89.7 kB / 1.064 GB, free: 149.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.7143, allocations: 114.2 kB / 1.064 GB, free: 149.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7143, allocations: 0.6562 kB / 1.064 GB, free: 149.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002076/0.7145, allocations: 139.7 kB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.7146, allocations: 161.6 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7146, allocations: 3.062 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.7147, allocations: 3.031 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.7148, allocations: 28.5 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7148, allocations: 3.719 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.7149, allocations: 20.56 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7149, allocations: 6.094 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.7149, allocations: 3.031 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000148/0.7151, allocations: 96.88 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7151, allocations: 3.641 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-06/0.7151, allocations: 3.469 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.7152, allocations: 31.55 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.7152, allocations: 7.734 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.7153, allocations: 17.88 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.7153, allocations: 9.906 kB / 1.065 GB, free: 149.2 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 (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 0.0001362/0.7154, allocations: 214 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.7154, allocations: 7.406 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.7155, allocations: 13.16 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7155, allocations: 3.938 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.7155, allocations: 7.469 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7155, allocations: 3.938 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.7159, allocations: 450.6 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7159, allocations: 2.5 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.7159, allocations: 3.438 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7159, allocations: 6.375 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.7159, allocations: 4.094 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.716, allocations: 6.594 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.716, allocations: 0 / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.716, allocations: 95.44 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.7161, allocations: 92.69 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.7161, allocations: 3.406 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.7162, allocations: 4.516 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.7162, allocations: 6.594 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.7162, allocations: 0.5156 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.7163, allocations: 127.3 kB / 1.066 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7163, allocations: 0 / 1.066 GB, free: 148.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003228/0.7166, allocations: 58.81 kB / 1.066 GB, free: 148.3 MB / 0.698 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 () * Number of clocked 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.0001011/0.7167, allocations: 101.7 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.7169, allocations: 104.5 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.717, allocations: 0 / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.717, allocations: 15.28 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.7172, allocations: 26.08 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.7177, allocations: 316.9 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.7179, allocations: 0.7273 MB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000101/0.718, allocations: 27.67 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.7181, allocations: 16.28 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.7181, allocations: 0 / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of Templates: time 0.002918/0.721, allocations: 0.7822 MB / 1.068 GB, free: 147.2 MB / 0.698 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)