Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.737/1.737, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001848/0.001848, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.846/1.846, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009871/0.000987, allocations: 98.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006796/0.0006793, allocations: 10.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2574, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8018/1.059, allocations: 164.8 MB / 1.14 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.06, allocations: 108.1 kB / 1.141 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0362/1.096, allocations: 16.56 MB / 1.157 GB, free: 19.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/1.096, allocations: 0 / 1.157 GB, free: 19.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.096, allocations: 7.625 kB / 1.157 GB, free: 19.35 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008431/1.097, allocations: 0.5285 MB / 1.157 GB, free: 18.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.097, allocations: 8.031 kB / 1.157 GB, free: 18.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/1.098, allocations: 102.9 kB / 1.157 GB, free: 18.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.098, allocations: 253.4 kB / 1.158 GB, free: 18.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/1.098, allocations: 19.12 kB / 1.158 GB, free: 18.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/1.098, allocations: 27.36 kB / 1.158 GB, free: 18.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/1.099, allocations: 357.9 kB / 1.158 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.099, allocations: 4 kB / 1.158 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/1.099, allocations: 15.19 kB / 1.158 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/1.099, allocations: 20.42 kB / 1.158 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/1.099, allocations: 310.2 kB / 1.158 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/1.101, allocations: 1.526 MB / 1.16 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/1.101, allocations: 231.1 kB / 1.16 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/1.101, allocations: 93.03 kB / 1.16 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/1.101, allocations: 34.38 kB / 1.16 GB, free: 16.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.542e-06/1.102, allocations: 0 / 1.16 GB, free: 16.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001144/1.103, allocations: 0.7903 MB / 1.161 GB, free: 15.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.103, allocations: 59.39 kB / 1.161 GB, free: 15.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.103, allocations: 172.4 kB / 1.161 GB, free: 15.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.103, allocations: 28.89 kB / 1.161 GB, free: 15.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/1.103, allocations: 166.4 kB / 1.161 GB, free: 14.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/1.103, allocations: 61.42 kB / 1.161 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/1.103, allocations: 3.688 kB / 1.161 GB, free: 14.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.103, allocations: 329.4 kB / 1.162 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/1.103, allocations: 110.9 kB / 1.162 GB, free: 14.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/1.104, allocations: 170 kB / 1.162 GB, free: 14.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/1.104, allocations: 140.1 kB / 1.162 GB, free: 14.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.104, allocations: 0 / 1.162 GB, free: 14.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006088/1.104, allocations: 416.5 kB / 1.162 GB, free: 13.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.104, allocations: 8 kB / 1.162 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.104, allocations: 0 / 1.162 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/1.105, allocations: 100.3 kB / 1.163 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1.105, allocations: 51.28 kB / 1.163 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/1.107, allocations: 1.763 MB / 1.164 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/1.107, allocations: 18.73 kB / 1.164 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/1.107, allocations: 12 kB / 1.164 GB, free: 12.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.107, allocations: 158.1 kB / 1.165 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/1.107, allocations: 19.88 kB / 1.165 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/1.108, allocations: 292.5 kB / 1.165 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.108, allocations: 4 kB / 1.165 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/1.108, allocations: 0 / 1.165 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.108, allocations: 0 / 1.165 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/1.109, allocations: 0.7121 MB / 1.166 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.109, allocations: 4 kB / 1.166 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/1.109, allocations: 51.95 kB / 1.166 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.109, allocations: 7.938 kB / 1.166 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.109, allocations: 3.062 kB / 1.166 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.109, allocations: 4 kB / 1.166 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.109, allocations: 0 / 1.166 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/1.11, allocations: 0.5427 MB / 1.166 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.11, allocations: 121.5 kB / 1.166 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/1.11, allocations: 10.77 kB / 1.166 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/1.11, allocations: 10.8 kB / 1.166 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/1.11, allocations: 11.98 kB / 1.166 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/1.11, allocations: 6.375 kB / 1.166 GB, free: 10.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001285/1.11, allocations: 146.8 kB / 1.166 GB, free: 10.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 1.166 GB, free: 10.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003835/1.111, allocations: 78.5 kB / 1.166 GB, free: 10.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001842/1.111, allocations: 128.3 kB / 1.167 GB, free: 10.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007172/1.111, allocations: 418.8 kB / 1.167 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.112, allocations: 0 / 1.167 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/1.112, allocations: 122.8 kB / 1.167 GB, free: 9.684 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.112, allocations: 30.3 kB / 1.167 GB, free: 9.664 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.113, allocations: 0.7594 MB / 1.168 GB, free: 8.918 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/1.114, allocations: 0.7769 MB / 1.169 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001736/1.114, allocations: 61.89 kB / 1.169 GB, free: 8.062 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/1.114, allocations: 19.44 kB / 1.169 GB, free: 8.043 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.114, allocations: 0 / 1.169 GB, free: 8.043 MB / 0.698 GB Notification: Performance of Templates: time 0.005881/1.12, allocations: 2.551 MB / 1.171 GB, free: 5.52 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)