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.646/1.646, allocations: 285.4 MB / 298 MB, free: 5.938 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.001423/0.001423, allocations: 180.8 kB / 366.4 MB, free: 2.09 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.702/1.702, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008186/0.0008187, allocations: 89.8 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.877e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7429, allocations: 115.3 MB / 0.9709 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.9622, allocations: 164.8 MB / 1.132 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.9625, allocations: 99.92 kB / 1.132 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04171/1.004, allocations: 16.45 MB / 1.148 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/1.004, allocations: 0 / 1.148 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.249e-05/1.004, allocations: 4 kB / 1.148 GB, free: 2.352 MB / 0.7448 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.0009858/1.005, allocations: 0.506 MB / 1.148 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.005, allocations: 12.03 kB / 1.148 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/1.006, allocations: 96.27 kB / 1.149 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/1.007, allocations: 268.5 kB / 1.149 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.007, allocations: 16.44 kB / 1.149 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/1.007, allocations: 23.98 kB / 1.149 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/1.008, allocations: 357.1 kB / 1.149 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.008, allocations: 4 kB / 1.149 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/1.008, allocations: 4 kB / 1.149 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/1.008, allocations: 30.05 kB / 1.149 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/1.008, allocations: 297.6 kB / 1.15 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/1.01, allocations: 1.529 MB / 1.151 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/1.011, allocations: 234.3 kB / 1.151 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/1.011, allocations: 116.8 kB / 1.151 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/1.011, allocations: 85.09 kB / 1.151 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.011, allocations: 38.56 kB / 1.151 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.214e-05/1.011, allocations: 3.984 kB / 1.151 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.001297/1.013, allocations: 0.6844 MB / 1.152 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.013, allocations: 59.41 kB / 1.152 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/1.013, allocations: 165.9 kB / 1.152 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/1.013, allocations: 25.7 kB / 1.152 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/1.013, allocations: 167.9 kB / 1.153 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/1.013, allocations: 67 kB / 1.153 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/1.013, allocations: 8 kB / 1.153 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.013, allocations: 334.8 kB / 1.153 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/1.013, allocations: 108.8 kB / 1.153 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/1.014, allocations: 167.5 kB / 1.153 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/1.014, allocations: 137 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.014, allocations: 4 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007449/1.015, allocations: 404.2 kB / 1.154 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.015, allocations: 13.03 kB / 1.154 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.015, allocations: 0 / 1.154 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/1.015, allocations: 96.41 kB / 1.154 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/1.015, allocations: 55.89 kB / 1.154 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/1.017, allocations: 1.722 MB / 1.156 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/1.017, allocations: 16.02 kB / 1.156 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/1.017, allocations: 15.98 kB / 1.156 GB, free: 9.996 MB / 0.7605 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 () * 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 9.555e-05/1.018, allocations: 112.9 kB / 1.156 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/1.018, allocations: 15.81 kB / 1.156 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/1.018, allocations: 303.3 kB / 1.156 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.018, allocations: 0 / 1.156 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.018, allocations: 0 / 1.156 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.018, allocations: 4 kB / 1.156 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/1.019, allocations: 0.7003 MB / 1.157 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.019, allocations: 0 / 1.157 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/1.02, allocations: 55.95 kB / 1.157 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.02, allocations: 4.062 kB / 1.157 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.02, allocations: 4 kB / 1.157 GB, free: 8.734 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.02, allocations: 4 kB / 1.157 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.02, allocations: 10.16 kB / 1.157 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/1.02, allocations: 0.5272 MB / 1.157 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.02, allocations: 116.9 kB / 1.157 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.02, allocations: 18 kB / 1.157 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/1.021, allocations: 7.984 kB / 1.157 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/1.021, allocations: 19.89 kB / 1.157 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/1.021, allocations: 4 kB / 1.157 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001286/1.021, allocations: 139.2 kB / 1.158 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/1.021, allocations: 0 / 1.158 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004281/1.021, allocations: 83.92 kB / 1.158 GB, free: 7.766 MB / 0.7605 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 () * 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.0002286/1.021, allocations: 123.2 kB / 1.158 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007973/1.022, allocations: 414.3 kB / 1.158 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.022, allocations: 0 / 1.158 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.022, allocations: 120.3 kB / 1.158 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/1.023, allocations: 38.44 kB / 1.158 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.024, allocations: 0.4896 MB / 1.159 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/1.024, allocations: 0.7789 MB / 1.16 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001858/1.024, allocations: 58.03 kB / 1.16 GB, free: 5.699 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/1.025, allocations: 15.44 kB / 1.16 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/1.025, allocations: 4 kB / 1.16 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.005928/1.03, allocations: 2.56 MB / 1.162 GB, free: 3.188 MB / 0.7605 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)