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.378/1.378, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.00111/0.00111, allocations: 189.6 kB / 326.5 MB, free: 2.242 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.836/1.836, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009006/0.0009006, allocations: 103.2 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003938, allocations: 8.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2712, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.4815, allocations: 153.7 MB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004249/0.482, allocations: 99.94 kB / 1.05 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.615/1.097, allocations: 14.24 MB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.097, allocations: 0 / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.974e-05/1.097, allocations: 7.062 kB / 1.064 GB, free: 151.9 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000835/1.098, allocations: 483.1 kB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.098, allocations: 10.31 kB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/1.098, allocations: 53.06 kB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007571/1.099, allocations: 80.7 kB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/1.099, allocations: 239.9 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/1.099, allocations: 16.36 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/1.099, allocations: 13.59 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/1.1, allocations: 315.1 kB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.1, allocations: 4.875 kB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/1.1, allocations: 5.688 kB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/1.1, allocations: 20.3 kB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/1.101, allocations: 248.5 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/1.103, allocations: 1.639 MB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/1.103, allocations: 419.8 kB / 1.068 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/1.103, allocations: 92.16 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.103, allocations: 36.09 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/1.104, allocations: 4.688 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008658/1.104, allocations: 308.4 kB / 1.068 GB, free: 149.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.104, allocations: 79.95 kB / 1.068 GB, free: 149.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/1.105, allocations: 157.5 kB / 1.068 GB, free: 149 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/1.105, allocations: 30.98 kB / 1.068 GB, free: 149 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/1.105, allocations: 152.6 kB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/1.105, allocations: 54 kB / 1.069 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/1.105, allocations: 3.969 kB / 1.069 GB, free: 148.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/1.105, allocations: 322 kB / 1.069 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/1.105, allocations: 76.69 kB / 1.069 GB, free: 148.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/1.105, allocations: 152.9 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/1.105, allocations: 98.12 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.105, allocations: 5.125 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004451/1.106, allocations: 265.2 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/1.106, allocations: 0.9574 MB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.106, allocations: 9.594 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.106, allocations: 8.406 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/1.106, allocations: 54.17 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.107, allocations: 7.062 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/1.107, allocations: 23.92 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/1.107, allocations: 8 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.107, allocations: 6.562 kB / 1.07 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004001/1.107, allocations: 214 kB / 1.071 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.107, allocations: 2.594 kB / 1.071 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/1.107, allocations: 3.938 kB / 1.071 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.107, allocations: 48.66 kB / 1.071 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.107, allocations: 11.72 kB / 1.071 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/1.108, allocations: 17.42 kB / 1.071 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/1.108, allocations: 11.55 kB / 1.071 GB, free: 147.3 MB / 0.698 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 () * Number of clocked 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 0.0001778/1.108, allocations: 220 kB / 1.071 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/1.108, allocations: 14.19 kB / 1.071 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/1.108, allocations: 208.4 kB / 1.071 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.108, allocations: 2.25 kB / 1.071 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.108, allocations: 0.625 kB / 1.071 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.108, allocations: 0.6562 kB / 1.071 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/1.11, allocations: 0.9652 MB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.11, allocations: 3.844 kB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/1.11, allocations: 35.34 kB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.11, allocations: 4.688 kB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.11, allocations: 4.125 kB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.11, allocations: 11.56 kB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.11, allocations: 3.031 kB / 1.072 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/1.111, allocations: 0.5889 MB / 1.073 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.111, allocations: 114.9 kB / 1.073 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/1.111, allocations: 8.484 kB / 1.073 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/1.111, allocations: 14.97 kB / 1.073 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/1.111, allocations: 23.12 kB / 1.073 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.111, allocations: 10.56 kB / 1.073 GB, free: 145.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001515/1.111, allocations: 132.3 kB / 1.073 GB, free: 145.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.111, allocations: 0 / 1.073 GB, free: 145.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006852/1.112, allocations: 81.34 kB / 1.073 GB, free: 145.7 MB / 0.698 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 () * Number of clocked 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.0009923/1.113, allocations: 2.025 MB / 1.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000628/1.114, allocations: 302.4 kB / 1.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.114, allocations: 2.156 kB / 1.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/1.114, allocations: 80.33 kB / 1.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/1.114, allocations: 31.97 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/1.117, allocations: 2.742 MB / 1.078 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/1.117, allocations: 0.7525 MB / 1.079 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002545/1.117, allocations: 77.12 kB / 1.079 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.117, allocations: 51.98 kB / 1.079 GB, free: 140.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/1.117, allocations: 0 / 1.079 GB, free: 140.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/1.137, allocations: 3.343 MB / 1.082 GB, free: 140.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/1.138, allocations: 218.2 kB / 1.083 GB, free: 140.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.796, allocations: 0 / 1.083 GB, free: 140.4 MB / 0.698 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)