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.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001195/0.001195, allocations: 178.8 kB / 326.5 MB, free: 2.25 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.856/1.856, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008629/0.0008629, allocations: 95.72 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003234, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1909, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002798/0.1938, allocations: 2.227 MB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1961, allocations: 1.396 MB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1963, allocations: 7.938 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1965, allocations: 27.77 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.1969, allocations: 123.6 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1972, allocations: 115.7 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1974, allocations: 119.8 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.1979, allocations: 322.3 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.198, allocations: 67.81 kB / 0.9044 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1982, allocations: 71.69 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1982, allocations: 8 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.1985, allocations: 123.8 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.1985, allocations: 55.83 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1986, allocations: 53.64 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1989, allocations: 239.7 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1989, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.996e-06/0.1989, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.1989, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 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.0007393/0.1997, allocations: 466.9 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1997, allocations: 12.03 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1998, allocations: 46.55 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005838/0.2004, allocations: 91.66 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.2006, allocations: 230.7 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2006, allocations: 12.33 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.2007, allocations: 16 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.201, allocations: 315.8 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.201, allocations: 0 / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.2011, allocations: 8 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.2011, allocations: 28.2 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.2014, allocations: 256.5 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.2026, allocations: 1.63 MB / 0.908 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.2031, allocations: 415.1 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.2033, allocations: 89.09 kB / 0.9085 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2033, allocations: 30.56 kB / 0.9085 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2033, allocations: 0 / 0.9085 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005316/0.2038, allocations: 316.6 kB / 0.9088 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2039, allocations: 81.11 kB / 0.9089 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.204, allocations: 166.1 kB / 0.909 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.204, allocations: 33.7 kB / 0.9091 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.2041, allocations: 155.8 kB / 0.9092 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.2041, allocations: 47.3 kB / 0.9093 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.2041, allocations: 4.188 kB / 0.9093 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.2042, allocations: 331 kB / 0.9096 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.2043, allocations: 75.89 kB / 0.9096 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2044, allocations: 150 kB / 0.9098 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.2045, allocations: 103.9 kB / 0.9099 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2045, allocations: 4 kB / 0.9099 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002974/0.2048, allocations: 270.5 kB / 0.9101 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.205, allocations: 0.9561 MB / 0.9111 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.205, allocations: 4 kB / 0.9111 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.205, allocations: 4 kB / 0.9111 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.2052, allocations: 55.95 kB / 0.9111 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.2053, allocations: 7.938 kB / 0.9112 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2054, allocations: 11.98 kB / 0.9112 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.2054, allocations: 16 kB / 0.9112 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.2054, allocations: 6.812 kB / 0.9112 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002327/0.2057, allocations: 208.5 kB / 0.9114 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2057, allocations: 4 kB / 0.9114 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.2057, allocations: 7.938 kB / 0.9114 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2059, allocations: 52.22 kB / 0.9114 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2059, allocations: 11.95 kB / 0.9115 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.206, allocations: 19.83 kB / 0.9115 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.206, allocations: 12 kB / 0.9115 GB, free: 51.7 MB / 0.6042 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 9.508e-05/0.2061, allocations: 221 kB / 0.9117 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.2061, allocations: 15.89 kB / 0.9117 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.2064, allocations: 195.8 kB / 0.9119 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2064, allocations: 12 kB / 0.9119 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2064, allocations: 3.953 kB / 0.9119 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2065, allocations: 3.938 kB / 0.9119 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009463/0.2074, allocations: 0.9612 MB / 0.9129 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2074, allocations: 4 kB / 0.9129 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2075, allocations: 31.92 kB / 0.9129 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2076, allocations: 8.438 kB / 0.9129 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2076, allocations: 12 kB / 0.9129 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2076, allocations: 7.984 kB / 0.9129 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2076, allocations: 7.938 kB / 0.9129 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.2079, allocations: 0.5733 MB / 0.9135 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.208, allocations: 105 kB / 0.9136 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.208, allocations: 15.92 kB / 0.9136 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2082, allocations: 15.98 kB / 0.9136 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.2082, allocations: 11.94 kB / 0.9136 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2082, allocations: 12 kB / 0.9136 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.2083, allocations: 131.8 kB / 0.9138 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2083, allocations: 0 / 0.9138 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004503/0.2088, allocations: 76 kB / 0.9138 GB, free: 49 MB / 0.6042 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.0005698/0.2093, allocations: 2.021 MB / 0.9158 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.2097, allocations: 305.8 kB / 0.9161 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2097, allocations: 0 / 0.9161 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.2098, allocations: 85.38 kB / 0.9162 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2101, allocations: 31.03 kB / 0.9162 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2116, allocations: 2.727 MB / 0.9189 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2118, allocations: 0.7518 MB / 0.9196 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.212, allocations: 77.5 kB / 0.9197 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.2121, allocations: 51.42 kB / 0.9197 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2121, allocations: 3.938 kB / 0.9197 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.225, allocations: 3.333 MB / 0.923 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.2252, allocations: 224.1 kB / 0.9232 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.778, allocations: 2.672 kB / 0.9232 GB, free: 39.33 MB / 0.6042 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)