Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 184.8 kB / 316.3 MB, free: 3.234 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.471/1.471, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008245/0.0008246, allocations: 92.91 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.321e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.046, allocations: 153.9 MB / 1.036 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.047, allocations: 93.56 kB / 1.036 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03362/1.08, allocations: 14.11 MB / 1.05 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.423e-06/1.08, allocations: 0 / 1.05 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.08, allocations: 4 kB / 1.05 GB, free: 5.438 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006815/1.081, allocations: 476.4 kB / 1.05 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.081, allocations: 8.031 kB / 1.05 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/1.082, allocations: 75.72 kB / 1.05 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/1.082, allocations: 236.6 kB / 1.05 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.082, allocations: 4 kB / 1.05 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/1.082, allocations: 12 kB / 1.05 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003098/1.083, allocations: 186.4 kB / 1.05 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/1.083, allocations: 287.7 kB / 1.051 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.083, allocations: 3.938 kB / 1.051 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.083, allocations: 0 / 1.051 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/1.083, allocations: 19.62 kB / 1.051 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/1.085, allocations: 1.578 MB / 1.052 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/1.085, allocations: 415.4 kB / 1.053 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/1.085, allocations: 83.05 kB / 1.053 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/1.086, allocations: 85.11 kB / 1.053 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.086, allocations: 34.52 kB / 1.053 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/1.086, allocations: 0 / 1.053 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0006443/1.086, allocations: 260.4 kB / 1.053 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/1.086, allocations: 81.11 kB / 1.053 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.086, allocations: 149.5 kB / 1.053 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.086, allocations: 29.7 kB / 1.053 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/1.087, allocations: 149 kB / 1.054 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/1.087, allocations: 48.52 kB / 1.054 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/1.087, allocations: 0 / 1.054 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.087, allocations: 324.7 kB / 1.054 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/1.087, allocations: 72.69 kB / 1.054 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/1.087, allocations: 142.2 kB / 1.054 GB, free: 0.7734 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/1.087, allocations: 116.5 kB / 1.054 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.087, allocations: 0 / 1.054 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004169/1.088, allocations: 260.4 kB / 1.054 GB, free: 492 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004859/1.088, allocations: 0.9678 MB / 1.055 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.088, allocations: 4 kB / 1.055 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.088, allocations: 7.953 kB / 1.055 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/1.089, allocations: 51.91 kB / 1.055 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.089, allocations: 7.984 kB / 1.055 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.089, allocations: 15.92 kB / 1.055 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/1.089, allocations: 14.56 kB / 1.055 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/1.089, allocations: 8 kB / 1.055 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003396/1.089, allocations: 194.4 kB / 1.056 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.089, allocations: 4 kB / 1.056 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/1.089, allocations: 4 kB / 1.056 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/1.089, allocations: 47.91 kB / 1.056 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.089, allocations: 7.938 kB / 1.056 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/1.089, allocations: 16.2 kB / 1.056 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/1.089, allocations: 15.06 kB / 1.056 GB, free: 15.11 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/1.09, allocations: 108.9 kB / 1.056 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003858/1.09, allocations: 191.8 kB / 1.056 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/1.09, allocations: 12 kB / 1.056 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/1.09, allocations: 207.5 kB / 1.056 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.09, allocations: 11.94 kB / 1.056 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.09, allocations: 0 / 1.056 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.09, allocations: 0 / 1.056 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/1.092, allocations: 0.9098 MB / 1.057 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.092, allocations: 7.953 kB / 1.057 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/1.092, allocations: 35.91 kB / 1.057 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.092, allocations: 4.438 kB / 1.057 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.092, allocations: 4 kB / 1.057 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.092, allocations: 8 kB / 1.057 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.092, allocations: 4 kB / 1.057 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/1.092, allocations: 0.5716 MB / 1.058 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/1.093, allocations: 116.1 kB / 1.058 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/1.093, allocations: 7.938 kB / 1.058 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/1.093, allocations: 11.98 kB / 1.058 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/1.093, allocations: 19.44 kB / 1.058 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/1.093, allocations: 12 kB / 1.058 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.386e-05/1.093, allocations: 132 kB / 1.058 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.093, allocations: 0 / 1.058 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005332/1.093, allocations: 72 kB / 1.058 GB, free: 12.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001438/1.095, allocations: 2.03 MB / 1.06 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000463/1.095, allocations: 269.8 kB / 1.06 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.095, allocations: 4.438 kB / 1.06 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/1.096, allocations: 70.41 kB / 1.06 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/1.096, allocations: 33.47 kB / 1.06 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.097, allocations: 425.5 kB / 1.061 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/1.097, allocations: 0.7511 MB / 1.062 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002405/1.098, allocations: 86 kB / 1.062 GB, free: 9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/1.098, allocations: 51.41 kB / 1.062 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/1.098, allocations: 0 / 1.062 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/1.121, allocations: 3.041 MB / 1.065 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.121, allocations: 186.3 kB / 1.065 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.7, allocations: 3.938 kB / 1.065 GB, free: 5.773 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)