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.22/1.22, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009291/0.0009291, allocations: 184.6 kB / 325.9 MB, free: 2.668 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.353/1.353, allocations: 205 MB / 0.576 GB, free: 20.91 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.0006538/0.0006538, allocations: 82.36 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002807, allocations: 12.34 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1935, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002558/0.1961, allocations: 2.357 MB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.198, allocations: 1.536 MB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1981, allocations: 7.938 kB / 0.9 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.1988, allocations: 203.3 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1991, allocations: 179.4 kB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1994, allocations: 139.7 kB / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1996, allocations: 343.1 kB / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.1999, allocations: 169.9 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2001, allocations: 75.7 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2003, allocations: 107.6 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.2003, allocations: 12 kB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.2006, allocations: 275.4 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.2007, allocations: 63.8 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.2007, allocations: 75.55 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.201, allocations: 331 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2011, allocations: 0 / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2011, allocations: 3.938 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2011, allocations: 0 / 0.9019 GB, free: 62.17 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.0004893/0.2016, allocations: 459.1 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2016, allocations: 12.03 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.2017, allocations: 54.72 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.2022, allocations: 76.66 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2024, allocations: 241.4 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2024, allocations: 12.7 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.2025, allocations: 12.38 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.2028, allocations: 324.2 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2029, allocations: 3.938 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2029, allocations: 4 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.2029, allocations: 24.27 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.2032, allocations: 252.6 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2044, allocations: 1.63 MB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.2049, allocations: 419.1 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.205, allocations: 81.67 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.2051, allocations: 89.09 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.2051, allocations: 34.75 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2051, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000522/0.2057, allocations: 308.5 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2057, allocations: 85.05 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2058, allocations: 178.1 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2058, allocations: 25.7 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.2059, allocations: 156 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2059, allocations: 47.3 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.206, allocations: 29.64 kB / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.206, allocations: 326.8 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2061, allocations: 80.14 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2063, allocations: 150 kB / 0.9068 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.2065, allocations: 255.9 kB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2065, allocations: 0 / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003125/0.2068, allocations: 261.3 kB / 0.9073 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.2069, allocations: 161.8 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2069, allocations: 8 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2069, allocations: 4 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2071, allocations: 55.89 kB / 0.9075 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2071, allocations: 4 kB / 0.9075 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2073, allocations: 19.89 kB / 0.9076 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2073, allocations: 12.05 kB / 0.9076 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-06/0.2073, allocations: 4 kB / 0.9076 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002437/0.2076, allocations: 219.7 kB / 0.9078 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.2076, allocations: 4 kB / 0.9078 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.2076, allocations: 4 kB / 0.9078 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2077, allocations: 47.91 kB / 0.9078 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.2078, allocations: 7.938 kB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.2079, allocations: 15.98 kB / 0.9079 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2079, allocations: 12 kB / 0.9079 GB, free: 55.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/0.208, allocations: 225.2 kB / 0.9081 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.208, allocations: 15.8 kB / 0.9081 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.2083, allocations: 203.8 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2083, allocations: 3.938 kB / 0.9083 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2083, allocations: 7.938 kB / 0.9083 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2084, allocations: 0 / 0.9083 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.2092, allocations: 0.9653 MB / 0.9093 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2093, allocations: 0 / 0.9093 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2094, allocations: 35.92 kB / 0.9093 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2094, allocations: 4 kB / 0.9093 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2094, allocations: 4 kB / 0.9093 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2094, allocations: 7.984 kB / 0.9093 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2094, allocations: 4 kB / 0.9093 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2097, allocations: 441.1 kB / 0.9097 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.2098, allocations: 116.7 kB / 0.9098 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2098, allocations: 8 kB / 0.9098 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.21, allocations: 15.98 kB / 0.9099 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.21, allocations: 23.92 kB / 0.9099 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.21, allocations: 8 kB / 0.9099 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.97e-05/0.2101, allocations: 135.7 kB / 0.91 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2101, allocations: 0 / 0.91 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004511/0.2106, allocations: 72 kB / 0.9101 GB, free: 53.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004291/0.211, allocations: 0.974 MB / 0.911 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.2114, allocations: 307.6 kB / 0.9113 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2114, allocations: 0 / 0.9113 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.2115, allocations: 81.39 kB / 0.9114 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.212, allocations: 32.42 kB / 0.9114 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.214, allocations: 2.488 MB / 0.9139 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2142, allocations: 0.748 MB / 0.9146 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.2144, allocations: 77.45 kB / 0.9147 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.2144, allocations: 47.42 kB / 0.9147 GB, free: 48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2145, allocations: 0 / 0.9147 GB, free: 48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.2264, allocations: 3.336 MB / 0.918 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/0.2265, allocations: 239.3 kB / 0.9182 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.921, allocations: 4 kB / 0.9182 GB, free: 44.63 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)