Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 293 MB / 309 MB, free: 4.805 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.001083/0.001083, allocations: 167.3 kB / 378.7 MB, free: 1.031 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.781/1.781, allocations: 205.4 MB / 0.6383 GB, free: 8.191 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.000785/0.000785, allocations: 95.06 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 116.4 MB / 0.9905 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7407/1.028, allocations: 165.9 MB / 1.152 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/1.028, allocations: 102.1 kB / 1.153 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03788/1.066, allocations: 16.6 MB / 1.169 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/1.066, allocations: 0 / 1.169 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.675e-05/1.066, allocations: 4 kB / 1.169 GB, free: 14.87 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.0009523/1.067, allocations: 0.5316 MB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.067, allocations: 12.03 kB / 1.169 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/1.068, allocations: 96.45 kB / 1.169 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/1.068, allocations: 260.4 kB / 1.17 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/1.068, allocations: 16.81 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/1.068, allocations: 28.28 kB / 1.17 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/1.069, allocations: 357.6 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.069, allocations: 5.062 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/1.069, allocations: 15.94 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/1.069, allocations: 20.42 kB / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/1.069, allocations: 301.5 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/1.071, allocations: 1.537 MB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/1.072, allocations: 230.4 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/1.072, allocations: 112.8 kB / 1.172 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/1.072, allocations: 89.03 kB / 1.172 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.072, allocations: 38.5 kB / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/1.072, allocations: 0 / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001297/1.073, allocations: 0.7929 MB / 1.173 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/1.074, allocations: 55.41 kB / 1.173 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/1.074, allocations: 186.6 kB / 1.173 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/1.074, allocations: 29.7 kB / 1.173 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.074, allocations: 159.9 kB / 1.173 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/1.074, allocations: 74.98 kB / 1.174 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/1.074, allocations: 4 kB / 1.174 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.074, allocations: 322.8 kB / 1.174 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.074, allocations: 115.9 kB / 1.174 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/1.075, allocations: 165.1 kB / 1.174 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/1.075, allocations: 293.8 kB / 1.174 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.075, allocations: 3.938 kB / 1.174 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000714/1.076, allocations: 407.6 kB / 1.175 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.076, allocations: 5.125 kB / 1.175 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.076, allocations: 11.94 kB / 1.175 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/1.076, allocations: 96.7 kB / 1.175 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/1.076, allocations: 51.95 kB / 1.175 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/1.078, allocations: 1.734 MB / 1.177 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/1.079, allocations: 16.05 kB / 1.177 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/1.079, allocations: 12 kB / 1.177 GB, free: 6.18 MB / 0.7448 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.000197/1.079, allocations: 159.3 kB / 1.177 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/1.079, allocations: 15.81 kB / 1.177 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/1.079, allocations: 306.9 kB / 1.177 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.079, allocations: 4 kB / 1.177 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/1.079, allocations: 3.938 kB / 1.177 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.079, allocations: 0 / 1.177 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/1.08, allocations: 0.7013 MB / 1.178 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.08, allocations: 3.984 kB / 1.178 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/1.081, allocations: 60.95 kB / 1.178 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.081, allocations: 0 / 1.178 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.081, allocations: 12.06 kB / 1.178 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.081, allocations: 3.984 kB / 1.178 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.081, allocations: 0 / 1.178 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/1.081, allocations: 0.5161 MB / 1.178 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/1.081, allocations: 112.9 kB / 1.179 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.081, allocations: 4 kB / 1.179 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/1.082, allocations: 28.67 kB / 1.179 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/1.082, allocations: 11.92 kB / 1.179 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/1.082, allocations: 12 kB / 1.179 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000132/1.082, allocations: 139.2 kB / 1.179 GB, free: 4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.082, allocations: 3.938 kB / 1.179 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004174/1.082, allocations: 76 kB / 1.179 GB, free: 3.922 MB / 0.7448 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.0002406/1.083, allocations: 119.2 kB / 1.179 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007792/1.083, allocations: 433 kB / 1.179 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.083, allocations: 0 / 1.179 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/1.084, allocations: 119.8 kB / 1.179 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/1.084, allocations: 34.5 kB / 1.179 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/1.085, allocations: 0.7501 MB / 1.18 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/1.085, allocations: 0.7753 MB / 1.181 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001906/1.086, allocations: 59.66 kB / 1.181 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/1.086, allocations: 23.42 kB / 1.181 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.086, allocations: 4 kB / 1.181 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.03301/1.119, allocations: 2.579 MB / 1.184 GB, free: 15.02 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)