Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.335/2.335, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001322/0.001321, allocations: 182.1 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.441/2.441, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001408/0.001408, allocations: 80.44 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005118, allocations: 18.09 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2082, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.4688, allocations: 158.4 MB / 1.054 GB, free: 2.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/0.4692, allocations: 103.9 kB / 1.054 GB, free: 2.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.692/1.161, allocations: 16.6 MB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.161, allocations: 0 / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.549e-05/1.161, allocations: 4.219 kB / 1.07 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001267/1.163, allocations: 0.5348 MB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.163, allocations: 12.95 kB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/1.164, allocations: 95.64 kB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/1.165, allocations: 258.7 kB / 1.071 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/1.165, allocations: 21.53 kB / 1.071 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/1.165, allocations: 26.25 kB / 1.071 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/1.166, allocations: 363.6 kB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.166, allocations: 192 / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/1.166, allocations: 14.75 kB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/1.166, allocations: 23.84 kB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/1.167, allocations: 307.5 kB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/1.17, allocations: 1.524 MB / 1.074 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/1.17, allocations: 236.3 kB / 1.074 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/1.171, allocations: 113.5 kB / 1.074 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/1.171, allocations: 91.47 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.171, allocations: 32.06 kB / 1.074 GB, free: 150 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.176e-06/1.171, allocations: 0 / 1.074 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002037/1.173, allocations: 0.7898 MB / 1.075 GB, free: 149.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/1.173, allocations: 62 kB / 1.075 GB, free: 149.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/1.173, allocations: 186 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.173, allocations: 30.55 kB / 1.075 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/1.174, allocations: 161.9 kB / 1.075 GB, free: 149.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/1.174, allocations: 70.55 kB / 1.075 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/1.174, allocations: 8.5 kB / 1.075 GB, free: 149.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/1.174, allocations: 325.2 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.174, allocations: 113.9 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/1.174, allocations: 170.5 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/1.175, allocations: 130 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.175, allocations: 3.938 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001209/1.176, allocations: 420 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.176, allocations: 6.531 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.176, allocations: 5.125 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/1.177, allocations: 94.84 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/1.177, allocations: 49.06 kB / 1.077 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.18, allocations: 1.736 MB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/1.18, allocations: 15.16 kB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/1.18, allocations: 7.625 kB / 1.078 GB, free: 147.6 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.0002825/1.18, allocations: 161.1 kB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/1.181, allocations: 20.19 kB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007817/1.181, allocations: 302.2 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.181, allocations: 2.469 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.181, allocations: 1.188 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/1.181, allocations: 3.938 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/1.183, allocations: 0.7009 MB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.183, allocations: 0 / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.184, allocations: 62.72 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.184, allocations: 3.031 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/1.184, allocations: 8.219 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/1.184, allocations: 1.531 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.184, allocations: 1.156 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.185, allocations: 0.5117 MB / 1.08 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/1.185, allocations: 119.5 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/1.185, allocations: 9.781 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.186, allocations: 12.56 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.186, allocations: 17.06 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/1.186, allocations: 5.094 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002077/1.186, allocations: 150.4 kB / 1.08 GB, free: 146.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.423e-06/1.186, allocations: 0 / 1.08 GB, free: 146.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006317/1.187, allocations: 83.5 kB / 1.08 GB, free: 146.7 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.0002229/1.187, allocations: 118.7 kB / 1.08 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001174/1.188, allocations: 418.1 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.188, allocations: 0 / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/1.188, allocations: 126.4 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/1.189, allocations: 34.94 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/1.191, allocations: 0.7583 MB / 1.082 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/1.191, allocations: 0.7733 MB / 1.082 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.192, allocations: 59.55 kB / 1.083 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.192, allocations: 22.44 kB / 1.083 GB, free: 145.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.192, allocations: 1.281 kB / 1.083 GB, free: 145.3 MB / 0.698 GB Notification: Performance of Templates: time 0.009093/1.201, allocations: 2.566 MB / 1.085 GB, free: 144 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)